Energy efficiency across programming languages: https://www.researchgate.net/publication/320436353_Energy_efficiency_across_programming_languages_how_do_energy_time_and_memory_relate
Managed to bring it down to ~1.7 seconds because of this comment in CPython's source explaining the performance gain for using computed GOTO's (vs a big ol' switch statement).
Array & index expressions ✅
That wraps up book #1, can't wait to get started on book #2!
Today's interpreter progress: string literals, string concatenation and built-in functions ✅
My (tree-walking) Monkey interpreter can now calculate the 35th fibonacci number in under 10 seconds with peak memory use of 500 kB...
For reference: PHP & JS both do it in under 1 second. On to the second https://interpreterbook.com/ book to do add some pre-processing it is then!
C programmers, how can I design this so that it compiles?
I am trying to define a struct field but the struct is not yet defined, because that struct might in turn depend on the struct I am trying to define.
Just released version 1.0.8 of Koko Analytics 📈
Time for our yearly 1% for the planet donation. It's hard to determine where money is used most effectively, so I went all-in on just a single non-profit: https://www.ghostfishing.org/
They've been doing some great work over the last year so I hope our small donation helps them do more of the same in 2020.
Ok now came across JSFuck and mind is blown.