Ok, thank you Paulo for those annotations,
Julien
— En date de?: Lun 8.6.09, Paulo Pinto a ?crit? Paulo Pinto
Objet: Re: [SDL] Re : ANN: Dao language 1.0.1 with SDL and OpenGL bindings
?: “A list for developers using the SDL library. (includes SDL-announce)”
Date: Lundi 8 Juin 2009, 12h37
Hi, sorry to disagree with you but Java is used compiled in many production systems:
-
Sun’s JVM Hotspot compiles all method invocations that are called more than 1500 times. Do you want to have everything compiled? Just use -XX:CompileThreshold=0;
-
The JRockit JVM
-
Mobiles using the ARM processor with the Jazelle execution engine translate bytecodes on the fly to ARM instructions (Nokia 6120 Classic is one example);
-
Sun’s SPOT jvm (Squawk) uses ahead of time compilation when deploying applications to the SPOT
As you can see quite a few examples.
Please note I am not a Java fanboy. I use whatever tool is best for a certain job, because languages are just that, tools.
But many Java myths are no longer true nowadays.
Stopping my off topic discussion here, if anyone feels like commenting use my private email.
–
Paulo
On Mon, Jun 8, 2009 at 11:26 AM, julien CLEMENT <@Julien_Clement1> wrote:
I’m not against Java, I just see that although there may not be restrictions in theory, in practice it happens that Java is used with virtual machines which are interpreted. I don’t know any examples of compiled java. That’s why I put it along with python and friends.
I should have said “languages which are not compiled” to avoid confusion. I know java can be compiled, but in reality, it’s not used this way.
— En date de?: Lun 8.6.09, Paulo Pinto a ?crit?:
De: Paulo Pinto
Objet: Re: [SDL] Re : ANN: Dao language 1.0.1 with SDL and OpenGL bindings
?: “A list for developers using the SDL library. (includes SDL-announce)”
Date:
Lundi 8 Juin 2009, 11h13
In what current JVM may I ask?
It depends on which JVM you run the bytecodes. You cannot say that Java is interpreted since it depends on the implementation, there is
nothing in the language specification that says “you are only allowed to have implement interpreters for this language”.
You have JVMs that compile all bytecodes before execution, others do only parcial compilation depending on a specific threshold, others are
100% interpreters, and you can even compile to pure native code without a JVM being available. So you cannot say the language is interpreted.
–
Paulo
On Mon, Jun 8, 2009 at 10:54 AM, julien CLEMENT <@Julien_Clement1> wrote:
That’s right, the source is compiled into byte code which is itself interpreted
— En date de?: Lun 8.6.09, Paulo Pinto a ?crit?:
De: Paulo Pinto
Objet: Re: [SDL] Re : ANN: Dao language 1.0.1 with SDL and OpenGL bindings
?: “A list for developers using the SDL library. (includes SDL-announce)”
Date: Lundi 8 Juin 2009, 10h53
Java is not interpreted!
On Mon, Jun 8, 2009 at 10:20 AM, julien CLEMENT <@Julien_Clement1> wrote:
Thank you,
Could you quickly enumerate what are the advantages of Dao comparing with other existing interpreted languages like Java,Python,Perl,Ruby ?
Is it possible to compile Dao code to native machine code ?
Julien
— En date de?: Ven 5.6.09, Limin Fu a ?crit?:
De: Limin Fu
Objet: [SDL] ANN: Dao language 1.0.1 with SDL and OpenGL bindings
?: sdl at lists.libsdl.org
Date: Vendredi 5 Juin 2009, 22h15
Hi,
Dao is a simple yet powerful object-oriented programming language with
many advanced features including, soft (or optional) typing, BNF-like
macro system, regular expression, multi-dimensional numeric array,
closure, coroutine, asynchronous function call for concurrent
programming etc. Dao provides a rich set of standard data types,
methods and libraries. Dao is implemented as a light and efficient
virtual machine with very transparent C programming interfaces, which
make it easy to extend Dao with C/C++ or embed Dao into C/C++ programs.
Currently a number of modules have been included, in particular, modules binding SDL and OpenGL are included. Most of the functions are wrapped as they are, namely, with the same function prototypes their C versions. Most of the structures are also wrapped as well. This release might be useful for somebody wants to play with SDL and OpenGL.
An IDE named Dao Studio for Dao is also released at the same time as Dao. This IDE includes a syntax highlighted code editor and console, and supports Edit&Continue debugging mode.
Links:
http://www.daovm.net
http://www.daovm.net/dao/gallery_en
http://www.daovm.net/dao/download_en
Have fun,
Limin Fu
-----La pi?ce jointe associ?e suit-----
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-----La pi?ce jointe associ?e suit-----
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-----La pi?ce jointe associ?e suit-----
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-----La pi?ce jointe associ?e suit-----
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org