Syntax like F# but with the ability to get performance like C++. Linear types seem to offer some hope of being able to have manual / non GC memory management in a functional programming language but I haven't really seen this done in a mature functional language. To really get good performance you probably need the ability to drop down and write more procedural style code in hot code paths and expose it with a functi…
Ask HN: What would be your “perfect” programming language?
31–40 of 182 posts
Re: Ask HN: What would be your “perfect” programming language?
#32Re: Ask HN: What would be your “perfect” programming language?
#33There are general purpose languages (say, java, go, rust, ts, and c -- one is better than another for specific tasks), and then there are HDLs, DSLs, constraint and SAT solvers, and many more I don't even know about.
Re: Ask HN: What would be your “perfect” programming language?
#34Re: Ask HN: What would be your “perfect” programming language?
#35Re: Ask HN: What would be your “perfect” programming language?
#36- versatility: create desktop apps, mobile apps, websites, CLI
- quality of IDE / tooling
- lots of libraries to deal with all sort of corner problems
- lots of knowledge I can google
- if used professionally: lots of talents available
For the language itself, I only really care about one thing: statically typed, just because it eliminates all sort of silly bugs and makes refactoring and navigating the code so much easier. But I am not dealing with hard computer science problems.
But the most important thing is muscle memory: not having to even think of how to solve something, just do it. We can probably adapt to any major language, but you aren't productive until you develop muscle memory. That's why I am not looking to switch to any shiny new thing unless I have a really compelling reason to do so.
Re: Ask HN: What would be your “perfect” programming language?
#37I want to write a program that has no mention of concurrency and runs efficiently on clusters anyway. So no threads, fibres, processes, actors, atomic, mutex, channels, queues, coroutines. Not in the language nor in a library. Push the concurrency and distribution machinery into the language runtime. Developer can neither see nor influence it. Program just runs faster when put on more parallel hardware. The price app…
Re: Ask HN: What would be your “perfect” programming language?
#38Jose announced that they are working on it but I can’t wait :p
Re: Ask HN: What would be your “perfect” programming language?
#39Re: Ask HN: What would be your “perfect” programming language?
#40To me what matters the most isn't the language but the ecosystem: - versatility: create desktop apps, mobile apps, websites, CLI - quality of IDE / tooling - lots of libraries to deal with all sort of corner problems - lots of knowledge I can google - if used professionally: lots of talents available For the language itself, I only really care about one thing: statically typed, just because it eliminates all sort of…
- good developer tooling, e.g. a language server
- This is not yet possible, but a good optimiser which can turn an abstract representation of the code into optimal code for a given hardware (CPU or GPU). Currently we are far from this, there is probably a 10x improvement that current compilers can't achieve. See for example a FizzBuzz implementation achieving ~10x throughput improvement after months of optimisation work:
https://codegolf.stackexchange.com/questions/215216/high-thr...
More complex code is likely much more improvable.