If someone would combine the syntax of Ruby (it's fun to read and write) with the performance and static binaries of Go, I think it would be very popular. I would like to enjoy writing Go as much as I enjoy writing Ruby. But Ruby apps are slow and hard to deploy. Combining their strengths would be great IMHO.
Have you heard of https://crystal-lang.org/ ? I've never used it personally, but it seems to be "statically compiled Ruby syntax"
Ask HN: New Programming Language?
51–60 of 99 posts
Re: Ask HN: New Programming Language?
#52Re: Ask HN: New Programming Language?
#53I'd like a language that, as much as possible, insulated me from async worries. I'm thinking of how garbage collection helps me forget about memory allocations. I don't want to have to pepper my code with 'async' and 'await' hints everywhere. I'd prefer to not have to figure out the syntax incantation for marshaling data across threads. If I'm not mistaken Go is the closest to this?
Java also has some basic thread synchronization primitives built into the language. It's way easier than you probably think. And it gets even more interesting with the upcoming project loom, which gives you the same programming model for lightweight and real threads.
Async programming is a pox on the industry. It's very useful in rare situations that require extremely high performance, but for general business processing, function coloring adds a ton of accidental complexity.
Re: Ask HN: New Programming Language?
#54I want a programming language that can do a lot, from web, game and IoT, with type system like Haskell/TypeScript/Rust/Ocaml and simplicity of Go
A very strong type system, makes native binaries, has low level control, but it writes and reads super simply. Generics are at the module ("package") and function level, not at the type level, and can take other packages as parameters.
Re: Ask HN: New Programming Language?
#55Some ideas... Language that represent numbers as rationals and always gives you precise calculations (unless you explicitly want to round them up). Language that can tell apart 1 meter from 1 second (units like in Frink lang). Language that has various data structures with consistent interface (like Scala) up to and including relational tables and graphs. That has structural composable declarative query language that…
Re: Ask HN: New Programming Language?
#561. Placing language interop as a high priority via extendible interop framework. Right now if you look for interop chances are you’re only gonna get A—>B bindings (eg Python->Rust), not even A B. I’d want something where, for all A,B in the set of supported languages, A B interop exists. This ideal language could then have like some glue module to allow that. 2. Extensible reflection system like in Python 3. 1 offici…
What exactly virtualenv adds to table that justifies it? I have used c#, and javascript. And not felt any issues by lack of virtualenv. I know python need it because otherwise it does not support project level modules. But that is a python only problem
The reason is that pip/most package managers have a default to install a package globally. Which can be annoying especially for noobs.
Re: Ask HN: New Programming Language?
#57My dream feature would be for an interpreted language: when you start the program the interpreter would randomly choose one of the keywords in the language to be considered "hot lava", meaning when the program encounters that keyword the computer running the program would be shut down permanently. If this language were universally adopted it would only be a matter of time before all computers were rendered inoperable…
Re: Ask HN: New Programming Language?
#58Some ideas... Language that represent numbers as rationals and always gives you precise calculations (unless you explicitly want to round them up). Language that can tell apart 1 meter from 1 second (units like in Frink lang). Language that has various data structures with consistent interface (like Scala) up to and including relational tables and graphs. That has structural composable declarative query language that…
Re: Ask HN: New Programming Language?
#59I'd like a language that, as much as possible, insulated me from async worries. I'm thinking of how garbage collection helps me forget about memory allocations. I don't want to have to pepper my code with 'async' and 'await' hints everywhere. I'd prefer to not have to figure out the syntax incantation for marshaling data across threads. If I'm not mistaken Go is the closest to this?
Re: Ask HN: New Programming Language?
#601. Placing language interop as a high priority via extendible interop framework. Right now if you look for interop chances are you’re only gonna get A—>B bindings (eg Python->Rust), not even A B. I’d want something where, for all A,B in the set of supported languages, A B interop exists. This ideal language could then have like some glue module to allow that. 2. Extensible reflection system like in Python 3. 1 offici…