63 points · by andrewstuart · 4y ago · 48 comments
Go being the exception as it uses Oberon-2 method syntax, an unsafe package similar to SYSTEM, and Robert Griesemer designed Oberon-V for his PhD.
It's debatably enough for those that know Oberon/Pascal to feel more comfortable. You can see the purposeful blending of various qualities of the languages.
Seems like they're taking a batteries included approach in trying to bring in as many use cases as possible using libraries written in V.
How are they progressing towards their promises for vlang in terms of base language features as a systems language ? I remember reading they still had some unsafe stuff going on that needed fixing
>> V UI is licensed under GPL3. A commercial license will be available. Open-source projects will have access to the commercial license for free. Every single feature will be open-sourced right away and available under both licenses. At some point in the future the library will be relicensed under MIT.
It'd be nice to see a commercial license.
We are talking about a cross platform UI with no dependencies, that was made to integrate from its early stages. This is partly why V is distinguishing itself from the pack.
It's still the early stages of the library and the language, so maybe it won't turn into some kind of mess. Possibly, they may have to do some rewrites of existing libraries. Still, it is a curious choice not to at least go LGPL, like many other projects have done who went down that GNU path. Seems like LGPL would have been the right balance to prevent sending mixed or "warning" signals.
There is also VIUP (https://github.com/kjlaw89/viup), which is a port of IUP. So, it's not like more adventurous types can't go play with that. That's under the friendlier MIT license.
http://ecere.org/ https://haxe.org/ https://dlang.org/ and ofc ... https://vlang.io/
All can compile to C and I find it somewhat important as would be very happy to share same code base with microcontrollers (SDCC), Android, Linux, Windows and web wasm. Unfortunately (to my knowledge) not all offer optional or selective garbage collection, some look immature and so on :-(
It can also compiles to c, c++, obj-c and js...plus it has an official jetbrains plugin.
The new ARC garbage collector fits the domain well. The non-atomic reference counting makes it predictable and deterministic. Though, it's possible to write Nim without using the GC or turn it off completely.
You might like it.
Edit: IIRC, there is a wasm2c program that might work.
I run into particular issues with some things, but they are usually easy to figure out or seek help on.
I do like the syntax and installing packages, e.g.:
v install ui