HNHacker News
TopNewBestAskShowJobs

nt591

53 karma · joined September 8, 2011

submissionscomments
nt591··on ZJIT is now available in Ruby 4.0
Dynamic languages will allow a range of types through functions. JITs add tracing and attempt to specialize the functions based on the observed types at runtime. It is possible that later on, the function is called with different types than what the JIT observed and compiled code for. To handle this, JITs will have stubs and guards. You check the observed type at runtime before calling the JITted code. If the type does not match, you would call a stub to generate the correct machine code, or you could just call into the interpreter slow path.

An example might be the plus operator. Many languages will allow integers, floats, strings and more on either side of the operator. The JIT likely will see mostly integers and optimize the functions call for integer math. If later you call the plus operator with two Point classes, then you would fall back to the interpreter.

nt591··on Why take a compiler course? (2010)
I’m currently in a part time masters program for fun and taking the compilers course. I’m sure John’s experience is different than mine, but it seems the question should be put to universities. The professor of my course, by his own admission, hasn’t studied compilers other than his undergrad decades ago and as far as I can tell was assigned the course to teach. As a result the syllabus is relatively dates. I think I’m 8 weeks in and we’ve only discussed parsing theory. As far as I can tell there won’t be time for detailed study of code gen, optimizations, type checking, etc.
nt591··on Pictures of a working garbage collector
You can manually increment and decrement reference counts with retain/release: https://stackoverflow.com/questions/6578/understanding-refer...
nt591··on [dead]
This substack is not Gayle: https://mobile.twitter.com/gayle/status/1611757742246723584

I think the submission should be taken down

nt591··on CMSC 430: Design and Implementation of Programming Languages
This might be an American term, but auditing a course is simply taking one without registering and without intent of grade or credit.
nt591··on Swift for TensorFlow Shuts Down
Presumably "Swift for data science" is a failure, not the idea of data science as a whole
nt591··on Nubank acquires Cognitect
Nubank also acquired Plataformatec and the Elixir team. Very interested to watch how this plays out.
nt591··on Ask HN: What book changed your life in 2014?
The first time I read Meditations I read the Gregory Hays translation. It's written with very colloquial language and makes for a great entrance to the book.
nt591··on Stanford MBAs Shift Away from Tech
There's a weird attack on MBAs for not being good at creating value in tech. But the biggest, most successful new tech companies over the last few years are hardly valuable in the grand scheme of things. Social networks are just new advertising platforms. Sure, there are companies like SpaceX, but I'd imagine the vast majority of people here on HN are not building anything so significant.

So why the outrage? Live and let live.

nt591··on Ask HN: My 56-year-old father is a developer having a tough time finding a job
Where in Spain? The author of the Typus gem (a Ruby admin tool) lives in / freelances from Barcelona. Your dad may want to reach out to him for tips or advice.

https://github.com/fesplugas

nt591··on Ask HN: Who wants to be hired? (July 2014)
Location: New York, NY

Remote: Full time, not remote.

Willing to relocate: Yes.

Technologies: Ruby/Rails, Javascript, proficient in SQL, some Chef and Ansible experience. Willing to learn anything.

Resume: http://resumes.flatironschool.com.s3.amazonaws.com/alumni/Ni...

Email: nikhil@nthomas.org

nt591··on Young Bankers Fed Up With 90-Hour Weeks Move to Startups
Money, prestige and the promise of future success makes 22 year olds do stupid things.
nt591··on Apple Said to Be in Talks to Buy Beats for $3.2 Billion
I'm not surprised. I'm a Beats subscriber and the only thing going for it is the (actually good) human-curated playlists. However, Spotify seems to have a bigger music catalog and music discovery is good enough.
nt591··on Apple’s iPhone 5s And iPhone 5c Sell 9M Units Over Opening Weekend
When I click this link I automatically download a file called widgets-tweet_button.html.torrent