News for hackers. Stuff that matters.
Re:Ask HN: What is the current driver of tech layoffs? by dijit on Friday January 12, 2024 @01:11PM (#38971666)
This is great, I find your opinion hilarious.

Yeah, Windows 95 BSOD'd a lot; however the people developing it were doing it for the very first time, largely with single-digits of megabytes of memory to work with and with a CPU that not only contained bugs[0] but was so slow that every single operation would take milliseconds of wall time[1].

It's not comparable, it's almost to the level that rendering a character on my screen right now consumes more CPU cycles than the entire operating system would have done in a day.

PHP was good, actually, but it's borne of its time- it's easy to use 20:20 vision of history to say it's a bad design when fundamentally:

A) it solved problems

B) it was working with the best of human knowledge in language design at the time

C) it remains one of the most well optimised web languages to this day, even a variant from the era would easily outperform any django webapp, I'd put money on this.

We stand on the shoulders of giants, good abstractions and lessons from these periods are what make our software so robust today. We made it a lot slower though.

[0]: https://en.wikipedia.org/wiki/Pentium_FDIV_bug

[1]: a 60Hz CPU executes an clock tick once every 16ms, Pentium 1 was the most popular CPU when Windows 95 released, and it had a clock speed of 60/66MHz; it was the first to be able to do two instructions per clock, meaning it had a best case scenario of 7.5ms assuming the 66MHz option was available.

Re:Ask HN: What is the current driver of tech layoffs? by meheleventyone on Friday January 12, 2024 @03:24PM (#38973479)
On [1] aren’t you off by several orders of magnitude, 1MHz is 1,000,000 Hz. You’re correct for 60Hz but then use that value for MHz which is quite a lot more clocks per second.
Re:Ask HN: What is the current driver of tech layoffs? by dijit on Friday January 12, 2024 @03:30PM (#38973559)
ah, quite right, none-the-less, missing a clock or a cacheline is incredibly consequential meaning optimisations turn out to be pretty... high risk.
Re:Ask HN: What is the current driver of tech layoffs? by wait_a_minute on Friday January 12, 2024 @06:54PM (#38975788)
php is awesome