Hacker Newsnew | past | comments | ask | show | jobs | submit | mwkaufma's commentslogin

If I had a nickel for every article about avoiding implicit boxing in gc-heap languages...

...you would have the same balance as before, because this is not an article about implicit boxing. ;-)

"The reason is that the compiler decided to allocate the backing store on the stack. Because it knows what size it needs to be (10 times the size of a task) it can allocate storage for it in the stack frame of process2 instead of on the heap1. Note that this depends on the fact that the backing store does not escape to the heap inside of processAll."

This is definitionally small-object boxing optimizations.


... no, that's not boxing. Boxing is storing value types on the heap.

Anecdotal evidence of specious claim.

Just hope those lambdas aren't throwing exceptions ;)

Originally read "BOM (Bill of Materials)" and thought it was a misattribution of the more common "Byte Order Marker" acronym common to file format headers, but websurfing reveals it's correct -- referring to this format's origin in Installers, haha.

$ man bom

> bom – bill of materials

[..]

> HISTORY

> The bill of materials file appeared in NeXTSTEP to support installation. The file format was updated and extended for Mac OS X 10.0. The format was extended to support 64 bit file sizes with OS X 10.3.


orly

  $ man bom
  No manual entry for bom

rly. Ran on two different Macs. Works up to Tahoe 26.2.

Maybe depends on developer tools installed?


Is the feedback that instead of a short web search, I could "simply" have checked the man page on a different computer, after confirming dev tools are installed?

What a place HN is that this is the default assumption of intent, lol

But like, you knew you were being a bit of a smart aleck in your first reply. I was just matching snark-for-snark ;)

Thinking about fpu pipeline parallelism/stalls still matter, though more often by hinting an optimizing compiler + verifying the output by inspection, than by inlining asm itself.

Gotcha, thanks!

civilization = their personal bank accounts


cope


Picking the number "70%" out of a hat is not "math."


"I'm not being tribal, it's everyone _else_."


2/5ths of SOLID... you're almost there...


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

Search: