Better HN
topnewbestaskshowjobs
Log inSign up

brokencode

3,309 karma · joined Mar 26, 2015 (11y ago) · 825 submissions

Submissions

comment 1y ago · link · parent

I’m assuming the previous commenter thought you were referring to Roc being pre v1 and not Zig.

There are probably some risks to it. And I think that you wouldn’t want to release a Roc v1 before Zig v1 as well.

But if things are working well now, you could always stay on an older version of Zig while you rewrite things for breaking changes in a newer version.

Still potentially a pain, but Rust is post v1 and they ended up deciding to rewrite anyway, so there are no guarantees in any approach.

comment 1y ago · link · parent

Or maybe they’re doing it because Starlink is by far the best and fastest growing satellite internet network in the world?

I dislike Elon Musk as much as the next guy, but right now, SpaceX is really the only game in town for anything space related.

comment 1y ago · link · parent

What a stretch. One Chinese model makes a breakthrough in efficiency and suddenly China has all the best people in the world?

What about all the people who invented LLMs and all the necessary hardware here in the US? What about all the models that leapfrog each other in the US every few months?

One breakthrough implies that they had a great idea and implemented it well. It doesn’t imply anything more than that.

comment 1y ago · link · parent

Subjectively, I find the Shop app to be quite nice and speedy. It works well enough that I’d never have guessed it is using any kind of cross platform framework.

It’s easy to get caught up on numbers, but at the end of the day the user experience is all that matters. And I very much doubt that performance is a concern for their users.

comment 1y ago · link · parent

Fair enough, maybe my perceptions of .NET performance are mostly based on old versions of .NET without all the tiered compilation and other features to make JIT warmup less of an issue.

We are only just now wrapping up the conversion at work to .NET 8 from 4.8, so it will be interesting to see the performance numbers once that is complete.

Our .NET application has millions of lines of code, so JIT compilation time in particular in the old .NET could be very painful.

comment 1y ago · link · parent

That's specifically an example of an application that I think is slow. It's slow to load and often slow to respond. The support for Git has to be amongst the slowest of any professional application in the world. But I'm pretty sure it has a deeply flawed architecture compared to VSCode.

comment 1y ago · link · parent

I don’t have a lot of experience with this, but that’s mainly because there’s no way to compile my company’s application with Native AOT. At least not without a significant amount of work.

This is because there are many limitations in what can be compiled this way, and most C# applications and libraries were never built with such limitations in mind.

comment 1y ago · link · parent

Do you have some examples of large and complex C# applications with really good performance?

I’m hard pressed to think of any Microsoft software at all that I think feels really nice. Except for VSCode, which is of course built on Electron and not .NET.

The only thing that comes to mind is Paint.NET, which doesn’t seem like all that big of an application. It’s very nicely done, but I think it’s only got like a single dev working on it, so couldn’t be that big.

comment 1y ago · link · parent

As much as I like C# the language, I honestly think that it and .NET are fundamentally flawed when it comes to performance.

Native Windows apps just never seem load that fast or work that great. It’s kind of crazy how much better the basic OS apps feel in macOS compared to Windows.

I wish Microsoft would have gone in a direction more similar to Apple, with an AOT compilation and reference counting.

JIT and garbage collection sound great in theory, but in practice I’ve found them both to be loaded with footguns that more than eliminate any benefits. At least with .NET, that is.

comment 1y ago · link · parent

They make money from lots of random stuff that they advertise in Windows.

The Edge browser for instance, which pushes Bing.

Also, office applications like Word, OneNote, and OneDrive.

They’ve got an app store as well, which is not much used, though probably does bring them some money.

I think they show ads by default in the start menu. Pretty sure it even comes with certain third party applications, like Netflix, which they are no doubt paid for.

comment 1y ago · link · parent

Oh yeah, I was talking from my perspective as somebody more established in the industry.

I definitely think that if you’re just getting started, especially if you don’t have the typical college degree and internships, side projects are a great way to demonstrate your skills.

comment 1y ago · link · parent

Personally, I avoid all side projects at home because they turn into a huge distraction for me at work. It’s hard for me not to think about them all day.

So the whole “program for fun to get a job” thing has always felt pretty dumb to me. Companies should only care about what I get done at work. What I do at home is my business.

comment 1y ago · link · parent

That would give Mozilla $20B of debt and an even bigger dependence on Google for payments, at least initially.

Though in the long term, maybe they could use the market share to make money in other ways.

But if they can’t manage to make money in other ways with Firefox, I’m not sure that they’d be able to do it with Chrome either.

comment 1y ago · link · parent

You bring up a great example. Mozilla poured tons of resources and had very smart people working on Rust, Servo, and related tech projects to improve Firefox. Where was the surge of market share?

We’re at a point where the core functionality of browsers is very mature. It’s unlikely that any amount of investment will produce a browser that is significantly faster at things like JS execution or rendering compared to Chrome.

So alternative browsers add things like better ad blockers, more privacy protections, or maybe LLM summaries to enhance the core browser experience instead.

comment 1y ago · link · parent

Same with Microsoft and all their Copilots, which are built on OpenAI. Not to mention all the other companies using OpenAI since it’s still the best.

comment 1y ago · link · parent

Mozilla is almost totally dependent on payments from Google to survive. If Google stops the payments, Mozilla probably goes out of business.

I think it’s pretty clear why they keep on doing this type of side project. They are trying anything they can think of to diversify revenue.

comment 1y ago · link · parent

The eventual solution will probably be to replace the low wattage people with high wattage machines.

comment 1y ago · link · parent

Murder is murder, and nobody deserves that kind of treatment. It makes our society worse, not better.

comment 1y ago · link · parent

Most shareholders have no real say in the company, though it’s fair to investigate what the board knew and how they acted, as they serve on behalf of the shareholders.

I do think there needs to be legal culpability for anybody who was informed of risks and pushed on regardless. Though I can see where it would be very hard to prove anything.

It really is a tough problem here. I hope that somebody will be seriously punished for the deaths of hundreds, but I’m very doubtful.

comment 1y ago · link · parent

Well they have to try something and actually invest in it. Every year, it looks more and more like x86 is a sinking ship.

Intel and AMD can dominate the x86 market all they want. But x86 has been steadily losing ground every year to cheaper and more power efficient ARM processors. It’s still a big market now, but I don’t think it’s going to be a great business in a decade or two.

ARM was just an example. If Intel spent a decade strengthening their Larrabee GPGPU platform and building AI and crypto ecosystems on it, they may have been well positioned to benefit immensely like Nvidia has over the last 5 years.

comment 1y ago · link · parent

I’d argue that focus is what Intel fundamentally lacks. Or any kind of real vision.

If they had focused more on mobile CPUs, GPUs, or especially GPGPUs a decade ago, they could have more product diversity now to hold them over.

Instead, they dipped their toes into a new market every few years and then ran away screaming when they realized how difficult and it would be to gain market share.

If they had any actual vision, they could have a line of ARM CPUs now to compete with the onslaught in all major CPU markets.

They should have listened to their customers and market forces instead of trying to force x86 down everyone’s throats.

comment 2y ago · link · parent

Most of the improvements made to any language don’t expand the community much. And they don’t have to, because that’s not the point. The point is to improve the language and ecosystem to help make better software.

Generics support is a ubiquitous feature in static programming languages. If it was included on day one in Go, nobody would have blinked an eye. This is only such a controversial topic in Go because the language maintainers made it one.

comment 2y ago · link · parent

Really? Even though the company is in Lithuania? It seems like they’d probably keep on working on Pixelmator or something closely related since any other teams would be a long way away.

comment 2y ago · link · parent

Just call it necessary for national security with some BS reasoning and thin or made up evidence and suddenly it’s an official act. There are so many ways a president could twist pretty much anything into an official act.

comment 2y ago · link · parent

Good thing TSMC is getting billions of dollars of government subsidies to build fabs all around the world including in the US and Japan.

comment 2y ago · link · parent

You shouldn’t need to be onboarded to basic development skills when you come in as a senior developer as the OP is saying here. Institutional knowledge specific to each company takes time to learn, but many dev skills should be directly transferable.

comment 2y ago · link · parent

The problem just says to fly straight, not straight between two points. Though this thread is proof that a lot of people interpreted it differently, so all I can say is that I personally think it makes sense.

Even so, my guess after a very brief thought about it was actually Canada, so this understanding didn’t help me any :)

I had never heard of this concept of “great circles” before, so it personally wouldn’t have made it clearer to me without some research.

Given my ignorance on this topic, I found the fact that Australia was the first country you’d hit to be really quite remarkable.

comment 2y ago · link · parent

Did they change the title of the blog post? When I open it, it says “A path from Seattle”. The “Go east” part is only in the Hacker News post.

comment 2y ago · link · parent

Idk, I think it’s pretty clear based on the description what they mean.

For one, the problem description says the straight line is “along the Earth’s surface” so I don’t think you can reasonably think it might go into space.

And to me it seems reasonable to say a straight line means not turning. I personally imagined getting in a plane and going straight forward, assuming there is no wind to blow me off course.

That is just the common understanding of straight. If somebody asks you to walk in a straight line, do you ask them what coordinate system they’re using? No, you walk forward without turning.

I guess “most obvious” can always be up to interpretation, though.

comment 2y ago · link · parent

Why does everything need to be either DRY or WET? Like most things in life, there are no absolutes in programming, only tradeoffs.

Those may be good principles to think about when you are starting out with programming, but the key is to gain experience trying to solve problems in different ways.

Over time, you get better at making the right decision about whether duplicative code should be refactored or left alone.

To be fair, we can’t always make the “right” decision, but we can at least try to make the best decision we can based on the knowledge we have.

1
131415
28