Better HN
topnewbestaskshowjobs
Log inSign up

binary132

1,656 karma · joined Mar 24, 2014 (12y ago) · 1,717 submissions

Submissions

comment 1y ago · link · parent

Ok. Usually if someone suggests that you might laugh at a Mein Kampf quote in response to your argument, they are not doing it in good faith.

comment 1y ago · link · parent

Ahh, I see what you mean

comment 1y ago · link · parent

your fallacy is: reductio ad hitlerum

comment 1y ago · link · parent

haha, I probably just had a gut reaction instead of receiving the intent. whoops. I was mainly just thinking back to when I was trying to understand where the line is between things like qemu and kvm and xen and finding that it is a blurrier distinction than I had realized.

comment 1y ago · link · parent

Ironically Go has pretty clean and straightforward guarantees about when heap allocation happens and how to avoid gc.

comment 1y ago · link · parent

I think it’s because the typelevel expressions (e.g. trait constraints, lifetimes, impl<T> for Trait<U>), ubiquitous refs, and other type annotations have a much more complicated and explicit grammar than what we tend to see in other languages.

It is really not that much like C++ syntax in that respect nor is it cleaner. In other respects, it is more like a cleaner C++, but this is an aspect that is in fact more complicated, and harder to read and write.

Rust people need to be more honest about what Rust is really like.

comment 1y ago · link · parent

That’s not what OP is discussing. OP is discussing corner cases in Rust’s typesystem that would be sound if the typesystem were more sophisticated, but are rejected because Rust’s type analysis is insufficiently specific and rejects blanket classes of problems that have possible valid solutions, but would need deeper flow analysis, etc.

comment 1y ago · link · parent

please tell me this is bait

comment 1y ago · link · parent

The whole time I was reading this article, I just wanted to know the history of the soba restaurant that was being demolished. I bet there’s an interesting story there too.

comment 1y ago · link · parent

My first job was on a Perl + MySQL stack, and honestly the codebase was pretty straightforward and “C-like”. But yeah, it can definitely produce some incomprehensible eldritch monstrosities.

comment 1y ago · link · parent

a hvm is only running via hardware assisted virtualization if the guest is using the same ISA; a non-native guest is still "real virtualization", if all else is equal, isn't it? in that case, wouldn't the processor be the same thing as a "CPU emulator"? if not, how is it different?

I guess what I'm trying to say is maybe the distinction you're drawing isn't really as distinct as you think it is; if this project had virtualized devices and a kernel driving them instead of passing through syscalls, would that be real virtualization, assuming we're talking about a non-native guest ISA? don't vm guest drivers abstractly just pass through to syscalls / host drivers anyway? what if there was no OS and the user's code implemented those drivers? aren't virtualized devices "just setting up a datastructure and calling a function" too? if not, what are they?

like, do you see how this is really a spectrum or collection of system components with levels of virtualization?

CPU-only virtualization with syscall sandboxes is still more secure and useful than fancy chroot.

comment 1y ago · link · parent

For me, C is fun until I hit a certain level of abstraction complexity involving fake homespun vtables and it starts getting harder than it should be to chase down bugs.

comment 1y ago · link · parent

What exactly is the difference? Are you talking about hardware virtualization via e.g. intel vt-x? Do you mean virtualizing hardware subsystems with drivers instead of forwarding syscalls directly? Running a kernel?

Maybe I’m not seeing how those things are fundamentally different than “setting up a datastructure and calling an interpreter”.

comment 1y ago · link · parent

libriscv sounds amazing on paper, I’d love to learn more about it

comment 1y ago · link · parent

It is more accurate to say they are thinking in terms of “brand safety” or liability, that is, being safe from being blamed for making a mean robot.

comment 1y ago · link · parent

Oh good, now it will be blazingly fast

comment 1y ago · link · parent

Open contribution isn’t a good in and of itself.

comment 1y ago · link · parent

--bugs / --other-bugs

comment 1y ago · link · parent

You're 50% of the way closer to 1st!

comment 1y ago · link · parent

Yeah, so the pathological incentives to build bad products are just insane. It’s more evidence against the whole market-Darwinian hypothesis being good for the consumer. “Fitness” doesn’t equal (let alone define) product quality.

comment 1y ago · link · parent

I’m not quite following your point. It sounds like you’re agreeing that Jira sucks?

comment 1y ago · link · parent

I honestly do not think Mozilla is fixable.

comment 1y ago · link · parent

If only there were a better syntax for abstractions over machine code. :)

comment 1y ago · link · parent

Jira is incredibly slow, almost unusable. So awful.

comment 1y ago · link · parent

Somehow, the trees keep getting exponentially bigger, and yet the pies we’re getting are actually kinda just getting smaller and worse. Maybe just picking the nearest apples isn’t working out as well as they say it is.

comment 1y ago · link · parent

C is still #4 on TIOBE, right behind Java, so that is not at all true.

Go is good because it’s not like the other languages.

It should stay not being like them, not try to be more like them.

comment 1y ago · link · parent

nobody would ever use this argument for the design of C. It’s good for C to stay lean and simple while communities using C (please let’s not with this imaginary monolithic “The Community”) are free to try things and offer competing solutions that others are free to ignore.

kitchen sink languages are bad. Justifying them with “well the community is bad, so we need the bad thing to be mainlined” is maybe worse

comment 1y ago · link · parent

your comment exemplifies the mentality, yes, and unfortunately it has now been adopted by project leadership, so I’m sure you are quite right that more “missing features” will get baked into the language soon :)

comment 1y ago · link · parent

I have been seeing this pattern repeated over and over since I started using Go in 2014 where people think they should be “building my favorite missing feature” — whether that’s futures, generics, structural processes, OTP, version managers, package managers, or now apparently exceptions. I always get the sense that the authors think they’ve done something cool and helpful when in the first place if they had simply put more effort into comprehending the simple “Go way” it wouldn’t have been necessary at all, and the needed functionality would have fallen out of the design.

comment 1y ago · link · parent

“Don’t load balance, erm, here’s our loadbalancer” struck me as quite humorous too. :)
1
282930
58