HackerTrans
TopNewTrendsCommentsPastAskShowJobs

shuffel

no profile record

comments

shuffel
·5 tahun yang lalu·discuss
Thanks bxparks for the heads up! I haven't had a good experience upgrading macOS in the past either. I appreciate all the helpful advice on HN.
shuffel
·5 tahun yang lalu·discuss
Thanks for your reply. I feel a bit silly now. I just learned that I have Firefox ESR, which is different from Firefox:

https://support.mozilla.org/en-US/kb/where-find-release-note...

https://www.mozilla.org/en-US/firefox/91.5.0/releasenotes/

I just assumed I downloaded the regular Firefox release, but evidently not.
shuffel
·5 tahun yang lalu·discuss
Upgrading or switching the OS is a major undertaking.

I appreciate that Mozilla has fewer resources than Google, but having the latest version of FireFox working only on macOS versions released within the past two years is unnecessarily restrictive in my opinion. I'm an independent software developer far more financially constrained than Mozilla who supports macOS releases going back 10 years. It's just a matter of not using the new API calls shipped with each new OS release and optionally dynamically loading the API calls that are not present on all OS versions.

EDIT: My original post was wrong. Mozilla still supports Mojave. See details above.
shuffel
·5 tahun yang lalu·discuss
Mozilla cuts off support for macOS releases much too early in my opinion. I'm running macOS 10.14 Mojave which was released in 2018 and it only supports FireFox 91. The latest version of FireFox is 96. I can't find a definitive statement what minimum version of macOS is needed by the latest Firefox, but what they list on https://www.mozilla.org/en-US/firefox/96.0/system-requiremen... is incorrect and/or out of date: macOS 10.12.

Contrast that support with Google Chrome, its latest browser works on OS X El Capitan 10.11 from 2015: https://support.google.com/chrome/a/answer/7100626?hl=en - which is much more reasonable.

EDIT: I was wrong. mrpippy pointed out in a reply below that Mojave is still supported by the latest FF release. I was using the FF ESR release which only goes up to FF version 91. Sorry for the noise, and thanks for correcting me.
shuffel
·5 tahun yang lalu·discuss
Strings appear to be represented as arrays with elements which are 4 bytes in size, with 30 numeric bits for each character:

https://github.com/FastVM/minivm/blob/4906256b2dc16e227cad7e...

https://github.com/FastVM/minivm/blob/4906256b2dc16e227cad7e...
shuffel
·5 tahun yang lalu·discuss
Years ago I wrote a small toy interpreter based on predereferenced computed gotos with surprisingly good speed. For very small programs without dynamic data allocation churn it could run as fast as 3 times slower than compiled code instead of the expected 10X slower. Good things happen speed-wise when all the byte code and data fits into the L1 cache. Also, branch prediction is near perfect in tight loops.
shuffel
·5 tahun yang lalu·discuss
How are strings represented in the VM? Is there a benchmark for string operations?
shuffel
·5 tahun yang lalu·discuss
For whatever reason I can never remember the syntax of <(command) and end up "rediscovering" it every year. It's seldom used but when it's needed it's rather elegant.

Another somewhat related useful bash feature is using this form:

    wc <<< 'a b c' 
instead of:

    echo 'a b c' | wc
shuffel
·5 tahun yang lalu·discuss
Bazel is great if you're at Google scale, but I agree with the article. Too complex and bloated for my liking.