Better HN
topnewbestaskshowjobs
Log inSign up

grumpyprole

4,485 karma · joined Jun 30, 2015 (11y ago) · 2,043 submissions

Submissions

comment 2y ago · link · parent

Hopefully you agree Lisp is more productive than C++? Lisp is however not quite fast or efficient enough to displace C++ completely, mainly because, like Java and Go, it has a garbage collector. C++ was very much the language in Java's crosshairs. Java made programming a bit safer, nulls and threads not withstanding, but was certainly not as productive as Lisp. Meanwhile Lisp evolved into Haskell and OCaml, two very productive languages which thankfully are inspiring everyone else to improve. Phil Wadler (from the original Haskell committee) has even been helping the Go team.

comment 2y ago · link · parent

I stand corrected!

comment 2y ago · link · parent

Nice. My reply would have been something like: it combines the performance of Lisp with the productivity of C++. These days Java the language is much better though, thanks to Brian Goetz.

comment 2y ago · link · parent

Java has a culture of over-engineering, to the point where even a logging library contains a string interpolator capable of executing remote code. Go successfully jettisoned this culture, even if the language itself repeated many of the same old mistakes that Java originally did.

comment 2y ago · link · parent

It's interesting that they brought in Phil Wadler to help retrofit polymorphism, it literally is history repeating itself (Wadler did Generics retrofit for Java over 20 years ago).

comment 2y ago · link · parent

Yes I concede this is possible too.

comment 2y ago · link · parent

> was clear and polite

It was a short open-ended question with no additional context. That is not a clear requirement for an answer. Did you even read the README? Do you know anything about Haskell or embedded systems? You wrote a single sentence then complained when I wrote just a few sentences back. That wasn't polite, so my subsequent response wasn't either.

comment 2y ago · link · parent

> the only person who responded to it was someone who was incapable of explaining technical concepts

More childish insults. You know absolutely nothing about me. At least I have contributed something in this thread. Again, reflect on your own behaviour and why you didn't get the outcome you wanted.

comment 2y ago · link · parent

What would he have to gain by lying about spending even more customer money? I see it as a boast of how well he was playing the game; and also an admission that he was trying to buy influence.

comment 2y ago · link · parent

We don't really know what the split was. SBF has claimed he donated significantly more to the republicans. From your link above:

The GOP donations were "dark-money" contributions, making his claim difficult to verify. Such secret contributions, allowed by the Supreme Court’s 2010 Citizens United ruling, wouldn’t show up in the FEC disclosures used to compile MarketWatch’s list

comment 2y ago · link · parent

He donated to both sides, the objective seems to have been to influence crypto policy and regulation.

comment 2y ago · link · parent

If you had put just half as much effort into articulating exactly what you did and didn't understand as you have in bashing me, then there might have been a discussion. Rather than lecturing me on how to participate in the community, you should perhaps reflect on how you yourself come across.

comment 2y ago · link · parent

It's much easier to adapt existing code. There's no need to rewrite code to use monadic binds.

comment 2y ago · link · parent

That should be enough information for you to find out the details yourself. I suggest you take a look at the MicroPython web site.

comment 2y ago · link · parent

It's the Hashell equivalent of MicroPython. A lean Haskell designed for embedded and other constrained systems.

comment 2y ago · link · parent

This looks great! Note that Lennart was a member of the original Haskell committee in the 80's and has written numerous compilers (including one still used at Standard Chartered). The combinator approach was originally used by David Turner's Miranda in the 80's and performed well on hardware of that era. Presumably embedded CPUs also favour the combinator approach.

comment 2y ago · link · parent

I was speaking generally not specifically about addition. If you create new types and especially new operations on those types, then it will be up to you to add runtime "type checks" to avoid other failures. Try defining equality for a Point class for an example.

comment 2y ago · link · parent

There are many practical examples already in Haskell. Pure functional programming is not necessarily about avoiding effects, but about controlling, tracking and managing them. This enables better reasoning and more safety guarantees. For example, software transactional memory, the STM monad, allows optimistic updates to shared mutable state by safely supporting rollbacks.

comment 2y ago · link · parent

That only works with a few built in types, like numbers. For any other type, you had better hope that the author has added such checks.

comment 2y ago · link · parent

Not the original poster, but to me it usually refers to a language that is expressive and high-level but usually not fast or efficient enough to implement the actual heavy lifting. It seems fair to call Python a scripting language. This is not a derogatory term, rather it actually describes a great way to build software and explains Python's success.

comment 2y ago · link · parent

This is essentially the same argument as "one can write secure software in C++". If it's not enforced by the language and tooling, one can't safely assume anything.

comment 2y ago · link · parent

"And C++ is explicitly a multi-paradigm language so there can be affordances for multiple approaches." - In other words, a jack of all trades and master of none. For a systems programming language, I'd want to be able to easily reason about where allocations, memory barriers etc are happening and I'd want an emphasis on correctness/verification (rather than ease of use). C++'s many abstractions, intended for applications programming, actually get in the way of systems programming.

comment 2y ago · link · parent

Multiplication and division aren't necessary for arithmetic, why not keep things simple and just use addition for everything? Because by using a more complex language, it actually simplifies many solutions to problems. I do not understand why many software developers seem unable to grasp this.

comment 2y ago · link · parent

> Being able to reasonably go days without charging with regular usage is quite nice

No it's much worse than that for us Intel laptop users. Our machines make loud noises, overheat and throttle to the point where it affects Zoom video chats. The fan on my X1 carbon even comes on when booting the machine!

comment 2y ago · link · parent

It sounds like it's in safe hands, good to know!

comment 2y ago · link · parent

A terrifying accusation. I've had both OpenZFS and Btrfs eat my data, luckily I had backups but did lose a few files. XFS is probably the best bet on Linux, it was beautifully designed and implemented by SGI back in the day. Hopefully the ChatGPT generation don't start modifying that code too much.

comment 3y ago · link · parent

Yes it's certainly better, but it definitely slithered out from under the same rock. There are even better languages, designed by folks whose minds where presumably never corrupted by anything on that list.

comment 3y ago · link · parent

I once read that "Python" came from Monty Python's Flying Circus. And that's how I've always viewed the language, i.e. something akin to a Terry Gilliam animation.

comment 3y ago · link · parent

Or xcreet?
1
678
69