News for hackers. Stuff that matters.
Re:AviatorScript – A high performance scripting language hos... by sarabad2021 on Friday March 26, 2021 @07:35AM (#26590842)
Awesome! I’ve been using a similar language for the last 10 years called Lucee (Lucee.io). It’s dynamic with an ecmascript style syntax and also runs on the jvm so it scales super well. I wonder how this compares.
Re:AviatorScript – A high performance scripting language hos... by nalenth on Friday March 26, 2021 @07:45AM (#26590907)
Looks cool! Seems to be focused on web-applications, though. Can this be used for general purpose as well?
Re:AviatorScript – A high performance scripting language hos... by catmacey on Friday March 26, 2021 @12:23PM (#26593946)
I'm a big fan too, it's my daily go-to and a great "glue" language for all sorts of tasks webapps, APIs, batch jobs etc, all admittedly web-related as that's my job too. I recently moved over lots of Adobe CF code into Lucee and really enjoy the more modern language elements not to mention the lack of expensive licenses.
Re:AviatorScript – A high performance scripting language hos... by sarabad2021 on Friday March 26, 2021 @08:11AM (#26591103)
I'm a web dev so I only use it for web apps but you can certainly use it beyond web applications.
Re:AviatorScript – A high performance scripting language hos... by throwaway4good on Friday March 26, 2021 @08:30AM (#26591277)
What is with the "p" in the example? I assume it is the same as "println" used elsewhere in the documentation. Some sort of shorthand.
Re:AviatorScript – A high performance scripting language hos... by throwaway4good on Friday March 26, 2021 @08:34AM (#26591310)
And what is the relationship between tuple, list, and array?

https://www.yuque.com/boyan-avfmj/aviatorscript/ban32m

Re:AviatorScript – A high performance scripting language hos... by nalenth on Friday March 26, 2021 @08:44AM (#26591416)
tuple is a fixed-size array

array is a java array

list is a sequence which are java Collections (Set/Map/List)

Re:AviatorScript – A high performance scripting language hos... by throwaway4good on Friday March 26, 2021 @09:06AM (#26591643)
Yeah - I figured it would be related to interopt with the Java runtime.

However it is a bit sad, language designers never seem to bother cleaning up collection types when designing a new language.

There really should be just one list type.

Re:AviatorScript – A high performance scripting language hos... by dvdkon on Friday March 26, 2021 @04:25PM (#26596507)
Agree with array/list, we don't need more contiguous chunks of memory, but tuples are very different, if only because they allow elements of different types. They're really more ad-hoc unnamed structs than collections.
Re:AviatorScript – A high performance scripting language hos... by nalenth on Friday March 26, 2021 @08:06PM (#26598476)
in strictly typed languages that would be correct, and I still somewhat agree, but AviatorScript is dynamically typed, and allows lists containing elements with different types. It's basically List<Object>. So it seems to be a strictly semantic distinction.
Re:AviatorScript – A high performance scripting language hos... by nalenth on Friday March 26, 2021 @08:49AM (#26591468)
yeah, seems to be simply a shorthand of println
Re:AviatorScript – A high performance scripting language hos... by haolez on Friday March 26, 2021 @07:56AM (#26590992)
No english documentation available? I could only find the japanese version. But this looks awesome!
Re:AviatorScript – A high performance scripting language hos... by phyrex on Friday March 26, 2021 @11:33AM (#26593309)
Here's a quick guide on differentiating Asian scripts: https://external-preview.redd.it/5E56z2aoA6M8rKLYBMuAyhPShVQ...
Re:AviatorScript – A high performance scripting language hos... by haolez on Friday March 26, 2021 @12:57PM (#26594326)
That's actually useful :)
Re:AviatorScript – A high performance scripting language hos... by nalenth on Friday March 26, 2021 @08:03AM (#26591034)
Yeah that seems to be one of the major problems. I believe it is in chinese. The documentation has an auto-translation feature: https://www.yuque.com/boyan-avfmj/aviatorscript/guhmrc?trans... I stumbled upon it while searching for a groovy alternative. It seems to be reasonably well known is Asia, but I found no mention of it on the english web.
Re:AviatorScript – A high performance scripting language hos... by throwaway4good on Friday March 26, 2021 @08:37AM (#26591341)
There seems to evolving a parallel open source ecosystem in Chinese with its own languages, frameworks, and even operating systems. Will be fascinating to see what it will come to.
Re:AviatorScript – A high performance scripting language hos... by nalenth on Friday March 26, 2021 @08:59AM (#26591568)
Definitely! Would be very cool to see some write-ups about the asian ecosystem from native speakers.
Re:AviatorScript – A high performance scripting language hos... by throwaway4good on Friday March 26, 2021 @09:03AM (#26591618)
I remember when Ruby was this obscure thing only used by Japanese ...