I've used it and the documentation is shit. It assumes you understand how the C APIs for GObject and GIO work. It will often times generate the wrong C code and so you always end up doing double the work. I really liked the idea but it's just so infuriating to use.
JavaScript has eval but isn't homoiconic. It can't manipulate the syntax tree as atoms. Its as "code as data" as it is with the rest of the scripting language farts.
Name:
Anonymous2012-08-23 15:37
What do you mean? It has JSON, the Function constructor, eval, and all that. the Function constructor var func = new Function("x", "y", "return x*y;");
Seriously? JS having PHP-style create_function makes it code as data. IHBT
Name:
Anonymous2012-08-23 17:08
>>15
this is the future of programming... the new x86
>>23
Actually it's because of that that you see so many problems with smartphones using ARM + shit languages like java and obj-c than end up locking up at the slightest amount of concurrency and having to have its power supply physically removed in order for it to power down and be able to be powered back up to a (semi) functioning state.
Nice try though, to the both of you and the idiot who puked that up.
Name:
Anonymous2012-08-24 0:25
Write a code and be a code monkey for a day.
Teach a code to code and achieve eternal Satori.
Name:
Anonymous2012-08-24 0:30
The problem with Vala, or any obscure/dead language, is the lack of libraries. Or if there are libraries, there are a million amateur github implementations of the same thing, not a single one being worthy of use.
having to have its power supply physically removed in order for it to power down and be able to be powered back up
RTFM. Such drastic measures are practically always unnecessary on modern smartphones. Hold (power + volume up + volume down) for 15 seconds. And even that is rarely necessary.
>>23
There's a point between modifying the next few hundred instructions and never modifying instructions where you get a potentially huge efficiency gain from dynamically generating code.
>>28
I've had 5 smartphones, and only ever had to pull a battery once.
Look up "Synthesis kernel".
Great example of why self-modifying code is bad.
Name:
Anonymous2012-08-24 7:30
The NVIDIA proprietary graphics driver used to sometimes create code much like the Synthesis kernel does. I don't know if newer versions of the driver still do it but the following comment seems to imply so: That’s naive because, like I said, lots of the deprecated stuff is IN HARDWARE, and a well written OpenGL driver has no measurable overhead (function pointers and just-in-time code generation are wonderful things…) attributable to features you aren’t actually using.[1]