离上次发帖汇报道语言开发状况已经快一年半了,考虑到新的发布还不大可能在近期内发布出来,有必要再汇报总结一下从上次汇报 以来的进展。 下面列出主要的新特性: ...(Full text)
(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)
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)
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)
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)

道语言近期开发进展概要


除了不少错误修复和一些优化外, 近期的道语言开发实现了一些新语言特性。 下面简要地介绍一下这些特性: ...(Full text)

Summary of the recent development of Dao


Besides 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)
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)
With the ideal project name dao :-)
http://dao.googlecode.com ...(Full text)
(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:-))

1 Function call overhead reduction

 Top

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)

123 4
56 78910 11
121314151617 18
192021222324 25
26272829

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)

This site is powered by Dao
Copyright (C) 2009,2010, daovm.net.
Webmaster: admin@daovm.net