HackerTrans
TopNewTrendsCommentsPastAskShowJobs

stlee42

no profile record

comments

stlee42
·vor 5 Monaten·discuss
Exactly this. Linker is threading given blocks together with fixups for position-independent code - this can be called rule application. Assembler is pattern matching.

This explanation confused me too:

  Each individual iteration: around 4x slower (register spilling)
  Cache pressure: around 2-3x additional penalty (instructions do not fit in L1/L2 cache)
  Combined over a billion iterations: 158,000x total slowdown
If each iteration is X percent slower, then a billion iterations will also be X percent slower. I wonder what is actually going on.
stlee42
·vor 3 Jahren·discuss
There is a fork with that available.

as posted below:

For anyone that wants a physical version, SwissMicros makes a calculator based off of Free42: https://www.swissmicros.com/product/dm42

That website mentions that they use decimal floating point. Since free42 is licensed under gpl3, they have released the source.

https://github.com/swissmicros/DM42PGM/tree/master/lib

https://github.com/swissmicros/free42/tree/master/inteldecim...

They use Intel's library for decimal floating point: https://software.intel.com/en-us/articles/intel-decimal-floa...

It's still not the real HP-42S with its quirks, but it's nice to have decimal floating point operations.
stlee42
·vor 4 Jahren·discuss
previous discussion here: https://news.ycombinator.com/item?id=31596888

as noted in [0], the models are hosted on storage.googleapis.com and downloaded on demand. this still seems to be the case [1]

0: https://news.ycombinator.com/item?id=31604095

1: https://github.com/mozilla/firefox-translations/blob/main/ex...
stlee42
·vor 4 Jahren·discuss
click the link that says "Support site"

https://github.com/mozilla/firefox-translations
stlee42
·vor 4 Jahren·discuss
it doesn't fit in 3MB.

you can see the model sizes here: https://gist.github.com/jelmervdl/1a48816e4c3643ff5d9e1fd682...

they are like 15MB per language pair each way