Better HN
topnewbestaskshowjobs
Log inSign up

ravanave

8 karma · joined Dec 20, 2015 (10y ago) · 4 submissions

Submissions

comment 5y ago · link · parent

Btw, the reason Haskell isn’t used more isn’t type system per se, as all types can be inferred at the compilation time. People would sometimes use this feature even to see if GHCi guesses the type correctly (by correctly I mean exactly how the user wants, technically it’s correct always) first time and save them some time writing it either with an extension or just copy&paste from the interpreter window.

When it gets hairy is that most programming languages have low entrance barrier. To write Haskell effectively you’ve got to unlearn a lot of rooted bad habits and you get to dive into the “mathematical” aspect of the language. Not only you got monads, but there’s plethora of other types you need to get comfortably onboard with and the whole branch of mathematics talking about types (you don’t need to even know that such a field as category theory exists to use it).

However, since most people just want to write X, or just want hire a dev team at price they can afford, Haskell rarely is the first choice language.

comment 5y ago · link · parent

Technical content is generally of much higher standard. Although HackerNews sometimes feels a bit like an echo chamber with the type of content that gets popular.

I think there’s just too many crypto-sceptics here, and that’s a shame because crypto solved a lot of challenges they’re talking about, and is on the rally to democratise everything financial related. Something big that many people still miss on, but with about 0.5% adoption rate we’re at the early stage of the innovators stage. https://en.m.wikipedia.org/wiki/Technology_adoption_life_cyc...

Give it a few years until we get to the early adopters and for sure the quality of content will improve. It just needs more people reading about it and adopting it.

comment 10y ago · link · parent

Of course, there does not have to be, but if there would then it would be very useful. Think MS-DOS 4.0 multitasking: https://en.wikipedia.org/wiki/MS-DOS_4.0_(multitasking)

One process can have a preemptive multitasking. Even one process can make a very good use of a scheduler.

comment 10y ago · link · parent

"A SPNT OS has no real need of a scheduler."

I would rather disagree: https://en.wikipedia.org/wiki/Computer_multitasking. OS in the most of the cases needs to be interactive, what would be impossible without multitasking. Multitasking would not be possible without a scheduler. So, we would not swap the active task and we would be stuck with the current task forever (or until it finishes), without even the ability to interrupt it.