|
|
fu
created at Sunday, 2011-11-13, 22:22:06
0 Replies, 398 Hits
fu
created at Wednesday, 2011-06-29, 04:34:49
37 Replies, 1310 Hits
(My apology for not showing up in the forum for such long time.)
Nearly two years have been passed since the last release, if you are wondering what is going on with this language, the next release will be the answer. Twenty month is not a short time, so it is right for you to expect some significant new features and improvements in the next release: ...(Full text) fu
created at Tuesday, 2011-02-01, 08:40:37
10 Replies, 2153 Hits
A variable, typed with such type, must have value
matching to one of these types.
Not sure what's the best name for this kind of types. It was mentioned as multiple typing before by Nightwalker in http://daovm.net/space/dao/thread/423/?comment . Can anyone provide any links that have information or examples in other languages on such types? A few examples: ...(Full text) fu
created at Wednesday, 2010-12-22, 08:36:32
24 Replies, 2457 Hits
These days I have been thinking the possibility to bring back the previous features:
Asynchronous Function Call (AFC) and Message Passing Interface (MPI),
but not in the same way, instead a much simpler way.
The original design of MPI attempted to unify concurrent
and distributed computation model under single framework,
which was a bit too ambitious,
and is hard to implement consistently across different platforms.
Additionally, the original design of AFC and MPI does not pay much
consideration to consistency of shared data.
To address such problems, I have come up with a new design that should
be much easier to implement and simpler to use.
The basic idea is to support a specialized class (for the moment, let's call such class as Synchronous Class and its instance object as Synchronous Object), possibly by specifying a special attribute in the class definition or prefix the class name with certain special symbol (or by some other way) as the following: ...(Full text) fu
created at Friday, 2010-12-03, 07:24:16
10 Replies, 1775 Hits
Running time class creation has been recently supported. This is another new feature besides the meta-fields (see Summary of the recent development of Dao ) and function decorator to support writing more dynamic programs.
The basic syntax is the following:
c = class( name, parents, fields, methods ){ body }
All parameters are optional. Acceptable parameter types:
...(Full text)
fu
created at Sunday, 2010-06-06, 07:02:07
3 Replies, 1604 Hits
fu
created at Sunday, 2010-06-06, 01:41:14
fu
modified at Sunday, 2010-06-06, 03:11:40
2 Replies, 1779 Hits
Summary of the recent development of DaoBesides many bug fixings and some optimizations, Dao has undergone some interesting developments to support some new features. Here is a brief summary of these features: ...(Full text)
fu
created at Friday, 2010-05-21, 06:47:28
fu
modified at Friday, 2010-05-21, 06:49:39
0 Replies, 1540 Hits
A quine program is a program that prints out the source codes of itself. To be more fun, the source codes should not be read from the source file, nor should it be stored in some kind of global variable from which to be accessed. An interesting quine program should reconstruct its source codes programatically in some way. A list of quine programs in other languages can be found one RosettaCode .
A simple quine program in Dao can be produced easily by porting the C implementation in C to Dao. But the more interesting way is to write a quine using Dao macros: ...(Full text) fu
created at Tuesday, 2010-05-11, 05:36:48
0 Replies, 1456 Hits
fu
created at Sunday, 2010-04-25, 21:43:22
4 Replies, 2111 Hits
(I slept badly last night because these thoughts came into my mind just before sleeping. Luckily these thoughts seem well to be useful. Sometimes I found myself repeating some thoughts almost subconsciously, probably it's because I was subconsciously afraid I would forget those thoughts or they were not concrete enough, writing them down should relieve this:-))
Dao supports function overloading, which imposes a significant overhead to function call, because when a function is called, the parameters have to be checked against the parameter types of a list of overloaded functions. Such checking is time consuming. One possible way to solve this is to encode function prototypes into string, and encode the calling parameter ...(Full text) |
fu: ... I forgot to say something about the plan for the whole new year in my previous reply. Well, besides w ... (Jan.19,01:40) fu: ... Happy new dragon year (which will start from this sunday)! Actually, it was a busy month (I wish th ... (Jan.18,22:46) ybabel: What's the plan for the new year ? Hello 'vry budy :- ) happy new year (when is the new year for you Fu ?) I saw you come back and comm ... (Jan.18,18:59) |