Re: Preferred language?
Jean-Roch HUET <[email protected]>
| Newsgroups | gmane.linux.distributions.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
Easier to read (defined norm for writing, clean code), Faster, Multi-platform, Allows down-programing (to execute lower-levels code, like C or ASM), Optimised, Allows GUI, allows to code even big programs (Vampire the Mascarade: Bloodlines is made with it), Well memory managment, Intuitive syntaxe, easy to learn. It is a language on the good line. C/C++ stays the reference. We could say the code could run at speed of 1x. Java is one of the most used language (including android phones, of course), it will run on 2x. Python is more and more optimized, the speed will be 3 to 4x. For a scripted language, this is very fast. Personaly, I use always languages : - C/C++ (most of the time) - ASM (with MASM, rare, when I need VERY fast modules) - VBScript / PowerShell / Batch on windows, for little things - Bash on Linux, for litthe things, - Python on Windows and Linux, more and more (I should have use it from the start but I didn't know) Le 27/03/2015 15:03, Sergio Tortosa Benedito a écrit : > Interesting, but, could you define here potential? > > El 27/3/2015 15:01, "Jean-Roch HUET" <[email protected] <mailto:[email protected]>> escribió: > > Python. > > It has potential. More than others. > > > > > > > Le 27/03/2015 13:39, Sergio Tortosa Benedito a écrit : > > Well I'm writing this e-mail because I want to know which languages do you know/prefer since I might write some tools. > > > > *Python: pretty much industry standard > > *Ruby: meant to be fun, higher DSL capabilites > > *Lua: fast,small and also DSL capable (with some trickery) > > And now some other which are not so known but interesting: > > *Nim: Python + Pascal with the highest grade of metaprogamming I have ever seen > > *Crystal: Attempts to be compiled ruby. > > The interesting thing about crystal is it's typing system which is a mix between dynamic and static, it's dynamic because var=1; var="hello" works,it's static because the variable's types are known at compile time. > > > > As anyone may infer, one feature I find interesting it's metaprogramming so we can write a small DSL (Domain Specific Language) and simplify code. > > > > > > Now my opinion: From the list the one less suited for the job it's Lua (it lacks some syntax sugar,also lacks standard libraries with support for some basic operations, and even though they exist, they are external). Python's limitations in metaprogramming may make a disadvantage. > > > > Anyone having feedback or any suggestion feel free to answer. > > > > (PD: I'm sending this here because I find the devel list it's pretty much dead) > > > > --Sergio > > > > > > _______________________________________________ > > gobolinux-users mailing list > > [email protected] <mailto:[email protected]> > > http://lists.gobolinux.org/mailman/listinfo/gobolinux-users > > > _______________________________________________ > gobolinux-users mailing list > [email protected] <mailto:[email protected]> > http://lists.gobolinux.org/mailman/listinfo/gobolinux-users > > > > _______________________________________________ > gobolinux-users mailing list > [email protected] > http://lists.gobolinux.org/mailman/listinfo/gobolinux-users >