Live data from Hacker News

OneLang – A tool to help writing code in multiple languages at the same time

ide.onelang.io

21–30 of 69 posts

Re: OneLang – A tool to help writing code in multiple languages at the same time

#21
post #19
post #6

Earlier quoted context omitted.

How classy of you

How so? Haxe is the de facto king of the compile-to-everything space. Therefore, it's inevitable that Haxe will be mentioned on a submission like this.

also consider https://blog.plan99.net/graal-truffle-134d8f28fb69

> Truffle is a framework for writing interpreters with annotations and small bits of extra code in them which, when Truffle is paired with its sister project Graal, allow those interpreters to be converted into JIT compiling VMs … automatically.

> If Truffle is a framework for writing AST interpreters, then Graal is the thing that makes them fast.

> Truffle provides a language interop framework called Polyglot that allows Truffle languages to call each other

Re: OneLang – A tool to help writing code in multiple languages at the same time

#23
post #4

If anybody is looking for something stable for years, have a look at haxe [1] [1] https://haxe.org

Do you have an example on how to use Haxe for a cross platform API client? Eg. Develop once, use in 12 different programming languages?

The first requirement seems to be a go ( https://api.haxe.org/haxe/Http.html ) but i'm not sure of other variables for implementing this

Other sources:

- https://github.com/tbrosman/haxe-rest-client

- https://github.com/tnwinc/rehx

Re: OneLang – A tool to help writing code in multiple languages at the same time

#24
post #8

Isn't it more an indication of how little substantial difference there is between most mainstream languages?

You can write Typescript in any programming language.

In the demo video (https://youtu.be/Rwo6KJ_Pa9Q) there is a part where I am editing the same code in 4 languages (C#, TypeScript, Ruby and PHP) simultaneously.

But yeah, generally only a limited subset of a language is supported. This is the price of writing code targeting multiple language. That's why you cannot (and probably won't be able to) convert existing code.

Re: OneLang – A tool to help writing code in multiple languages at the same time

#25
Went to github to see the project maturity and

"OneLang is the love child of @koczkatamas and it was not a planned child. .... OneLang is six months old at the time of writing and it already speaks, but don't expect any comfortable conversation with it yet. It cannot grow without a loving family, and as a single dad I cannot take care of it alone. It needs more mommies and daddies who can help raise it up."

Re: OneLang – A tool to help writing code in multiple languages at the same time

#26

Went to github to see the project maturity and "OneLang is the love child of @koczkatamas and it was not a planned child. .... OneLang is six months old at the time of writing and it already speaks, but don't expect any comfortable conversation with it yet. It cannot grow without a loving family, and as a single dad I cannot take care of it alone. It needs more mommies and daddies who can help raise it up."

Wow, sounds real mature.

Re: OneLang – A tool to help writing code in multiple languages at the same time

#27

Went to github to see the project maturity and "OneLang is the love child of @koczkatamas and it was not a planned child. .... OneLang is six months old at the time of writing and it already speaks, but don't expect any comfortable conversation with it yet. It cannot grow without a loving family, and as a single dad I cannot take care of it alone. It needs more mommies and daddies who can help raise it up."

Wow, sounds real mature.

At least I am not lying... ;)

Re: OneLang – A tool to help writing code in multiple languages at the same time

#28
For anyone interested in cross platform development, check out Haxe and its testing process. Writing a target that passes those tests is like finishing Dark Souls. The level of effort here is about on par with finishing the character selection screen.
Post reply on HN