Hacker News new | past | comments | ask | show | jobs | submit | liveranga's comments login


Just to throw a positive word out there from one of the quiet majority of your readers, I think you absolutely nailed it with Crafting Interpreters.

It's by far the best introductory book on this topic I've come across yet. It's a fun read and completely demystifies the "magic" of how interpreters work.


Thank you! :D



There's also a number of different open source implementations of various versions of K listed on the K wiki:

https://k.miraheze.org/wiki/Running_K


Thanks, I appreciate the link. As it turns out, it is really hard to google "K"


There's also April APL: https://github.com/phantomics/april

Also the array language family seems to be stronger than ever with foss: ngn/k, BQN, uiua, and of course J but as you mentioned they're all different languages.


I cant recommend enough this april video of Andrew Sengul:

https://www.youtube.com/watch?v=AUEIgfj9koc


Thank you. I had seen April previously although it looks like it's had a lot of updates since then. I appreciate you bringing it back to my attention :)

It looks like it can load pure APL files.

All the examples I see use the Lisp repl and APL is called within strings. Does it provide an APL repl, too?


April is amazing. I have used J for over a decade, and I am currently being swept away by uiua, but my old Lispy love teamed up with APL in April is a knockout combo: Do the generic stuff with Lisp and the numerical magic with APL.


I had not heard of uiua before, but I'm familiar with both APL and stack languages, so it should fun to explore it its capabilities.


No mention of 'R'?


The Zotero ipad app is the one thing that made my iPad pro actually useful: https://www.zotero.org/


It's amazing watching the live dashboard for Australia's energy grid: https://opennem.org.au/energy/nem/?range=1d&interval=30m

Looking at the annual data is amazing too: https://opennem.org.au/energy/nem/?range=all&interval=1y

In 2022 our electricity grid was 34.9% renewables already, with wind and solar pretty close in proportion.


Thank you for articulating this so well. I've also had a zero-tolerance ad policy for years now. My partner and I refer to ads as Brain-Pollution.


Fortran seems to be undergoing a minor renaissance at the moment. Modern Fortran is a fun read and the FPM tool is an attempt at creating an ecosystem similar to cargo for Rust.

  * https://www.manning.com/books/modern-fortran
  * https://fpm.fortran-lang.org/en/index.html


Until recently the best Fortran compilers were proprietary, I guess having gfortran catching up and those adopting LLVM not wanting to be left behind has helped.


That may depend on what you mean by "best". GNU Fortran has always been portable and generally decently competitive with proprietary ones speed-wise over the years and architectures. Also often more reliable. I wish it got properly funded.


The best buck for money on HPC clusters, those supercomputers using Intel and IBM proprietary compilers, which are now based on LLVM on more recent versions, thus also need to support Fortran to finish the toolchain transition.


I thought in the past was at issue. Anyway if you mean "bang for money", GCC is usually zero money, and is more reliable in my experience of research computing support. I've had long experience measuring its output. Fairly recently I ran the Polyhedron Fortran benchmarks, which seemed to be used to market proprietary compilers. In the bottom line, gfortran was essentially equal to ifort (then-current releases and roughly equivalent options on SKX). It's infinitely faster than ifort on ARM and POWER, of course. I could have improved the results for gfortran by individual attention to the codes (some of which were somewhat broken anyway). In HPC the quality of compiled code, within reason, often isn't actually the bottleneck anyway.


I have a copy of Fun Q sitting in the tsundoku pile on my desk that seems pretty good from a quick flick through.

https://www.fun-q.net/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: