DLang. Golang. FreePascal. All 3 for speed of both compiling and running. And some good language and library features too.
Ask HN: What programming language has you really excited lately, and why?
81–90 of 105 posts
Re: Ask HN: What programming language has you really excited lately, and why?
#82I guess you were hoping for new cutting edge stuff, but I've been really enjoying Common Lisp. I've used it for a bunch of small projects the last year or so, and just have a ton of fun. In particular, it has surprisingly good bindings to graphics libraries like Qt, SDL, and OpenGL, and it's super easy to get animations and graphical apps up and running quickly. The compilers are great for such a high level language,…
What CL implementation are you using, on what OS?
On both platforms I have a script that pulls from Git, rebuilds, and installs over the previous SBCL binary image, so I'm using the absolute bleeding edge of the compiler. One day this will bite me somehow and then I'll start using the most recent stable tag, but it's worked okay up to now.
I use Emacs and Slime for development. I had used Emacs for a long time before using CL, so using Slime wasn't an issue for me at all. I know the commercial implementations have some neat IDEs, but I haven't tried them. I'm not sure there's many (or any) OSS alternatives to Slime.
On both platforms I use QuickLisp to install all of the Lisp packages I use. Pure Lisp libraries always work great on both platforms.
Libraries that wrap C/C++ libraries (like Qt or SDL) tend to work better on Linux, but in every case I can think of I've got them working on OSX also, with varying degrees of effort.
On Debian I "apt-get install ..." the required lib* and sometimes lib*-dev packages, and then (ql:quickload ...) has always just worked.
External libraries on OSX are where I've encountered the most problems. Qt was particularly tricky, and I'm not even 100% sure what I did that finally got it working. SDL has some hoops to jump through with a "cocoa helper library" that I had to build by hand, but it's pretty simple and a few minutes Googling turned up enough info to get it working. For the majority of the stuff I've needed (libpng, cairo2, mpg123, and a few others), I was able to install them with HomeBrew, and they just worked once I had my PATH and LD_LIBRARY_PATH setup correctly. OSX ships ancient versions of several libraries (like libpng), but installing the version in HomeBrew usually fixes the problem.
Re: Ask HN: What programming language has you really excited lately, and why?
#83Re: Ask HN: What programming language has you really excited lately, and why?
#84Racket - I love everything about it. It has Functional Programming that makes sense to me, I went through Haskell books 3 times over the years and took a few weeks to be flying with Racket.
But I miss the niceness of typing, which typed racket provides. There are some warts, like having to explicitly typecast when using two polymorphic functions, and that the curry procedure doesn't work as in racket, but other than that it is not far from what I would perceive as the perfect language.
I could of course wish for some other things, like making a curried and strictly typed scheme-like language, but i'm not going to push my luck :)
Re: Ask HN: What programming language has you really excited lately, and why?
#85Re: Ask HN: What programming language has you really excited lately, and why?
#86Rust: it provides extremely strong guarantees about your code at compile time so that usually it feels like a script language with C/C++-levels of performance. And the best part: no data races, and no runtime garbage collector overhead.
Is that all? That's a pretty generic reason IMO.
Another consequence is the sheer range of applications for which this language can be practically used: systems and concurrent programming obviously, but also Web, realtime, embedded and even supercomputer programming. The reason for that is that rust mostly feels like a light weight scripting language like python, but because of its performance characteristics can viably be used as a drop-in replacement for C.
Re: Ask HN: What programming language has you really excited lately, and why?
#87Rust: Which everyone seems to know about and I'm sure lots of people will be able to explain why. So I'll focus on ... Haxe: Which is known in a few circles, but If I talk to a random person about it they've never heard of it. Haxe is a garbage collected strictly typed compiled language with type inference. It compiles to a variety of platforms including C++, Javascript, Flash Bytecode, Neko VM bytecode, even PHP. Mo…
> Just little things like not having 'for (var minion in party)'. It clears the clutter.
Would be even less cluttered if it allowed
for minion in party {
minion.jumpToTheLeft()
}
Parens around a for clause when there's braces following are unnecessary.Re: Ask HN: What programming language has you really excited lately, and why?
#88Scala: I love the mix of FP with OO all on the JVM with access to battle-tested Java libraries. I can also use it on the frontend with https://www.scala-js.org/ and potentially as a lower level system language with http://www.scala-native.org/
Re: Ask HN: What programming language has you really excited lately, and why?
#89Re: Ask HN: What programming language has you really excited lately, and why?
#90Earlier quoted context omitted.
What CL implementation are you using, on what OS?
SBCL, mostly on Linux, but also a bit on OSX. Both platforms work really well, but the experience is a bit smoother on Linux. On both platforms I have a script that pulls from Git, rebuilds, and installs over the previous SBCL binary image, so I'm using the absolute bleeding edge of the compiler. One day this will bite me somehow and then I'll start using the most recent stable tag, but it's worked okay up to now. I…