Hacker Newsnew | past | comments | ask | show | jobs | submit | coffeeaddict1's commentslogin

Isn't that targeting Qt Widgets?

> C++ requires the developer to make a conscious effort to avoid unsafe code

The problem is much worse than how you put it. I've written C++ for more than a decade and it's painful to constantly having to worry about memory safety due to enormous complexity of the language. Even if you are super diligent, you will make a mistake and it will bite you when you expect it the least. Relying on clang-tidy, non-default compiler flags, sanitizers and other tools is not only not enough, but a constant source of headache on how to integrate them with your build systems and project requirements.


Admittedly, I am more of a hobbiest when it comes to C++ development. I try to keep track of things, but I started learning the language before it was standardized and I switched to other languages shortly after it was standardized (never mind the introduction of memory safe option in the standard libraries, which occurred in the 2000's). That said, memory safety has been a consideration, and a feature, for nearly 20 years now. It seems to me that people should have been taught how to approach it for nearly 20 years now. Sure, you can break the rules. Sure, anyone working with older code would have been exposed to bad code. Yet it shouldn't be a universal problem unless people are deliberately seeking out shortcuts (since writing memory safe code in C++ is messier than writing unsafe code).

How does this differ from Hylo [0]?

[0] https://hylo-lang.org


I am very interested in Hylo! I think they're playing in similar spaces. I'd like to explore mutable value semantics for Rue.

One huge difference is that Hylo is using LLVM, whereas I'm implementing my own backends. Another is that Hylo seems to know what they want to do with concurrency, whereas I really do not at all right now.

I think Hylo takes a lot of inspiration from Swift, whereas I take more inspiration from Rust. Swift and Rust are already very similar. So maybe Hylo and Rue will end up like this: sister languages. Or maybe they'll end up differently. I'm not sure! I'm just playing around right now.


How are Swift and Rust very similar? I can search, but want to hear your opinion.

And congrats on starting a language project, even if Just for Fun (Linux). ;)

https://frappe.io/blog/book-reviews/just-for-fun-a-book-on-l...


Thanks :)

Both are playing around in similar spaces, both shared team members for a while, both have a take an automatic memory management that isn’t a garbage collector, both were sponsored by a primary company for a while (Swift still is, I think). There’s a lot of differences too.


I think that's only an issue with Windows Powershell. Powershell 7 works just fine.


I'd like to ask HN a very vaguely related question. I need to get a self-hosted runner (for GitHub Actions) that is capable of running Windows ARM64. What are my options other than buying a machine and do everything manually? Are there any service providers that offer Windows ARM64 VMs? I can only seem to find options for Linux.


In case you don't already know, there are Github-hosted runners that run Windows arm64 [1]

Also, it's not what you're asking, but self-hosted runners are a security nightmare if you don't have the hardware to completely isolate them from your local network.

[1] https://github.com/actions/partner-runner-images/blob/main/i...


They don't seem to be available for private repos (unless you sign up for Github Teams or Enterprise).


Microsoft offers Windows on ARM servers. Could slam the Windows ARM ISO on a 3rd party VPS as well.


Any recommendation for an Arm vps? I tried using a Hetzner server but apparently their server offering doesn't support mountint Windows Arm images.


Your best bet is probably Azure. Otherwise you can spin up an AWS graviton VM and install windows on it yourself.


> protobuf

As an aside, like all things Google, their C++ library is massive (14mb dll) and painful to build (takes nearly 10 minutes on my laptop).


Yeah and (1) the codegen produces massive headers that slow compilation of anything that touches them (2) the generated classes are really awkward to use. Not a big fan of the experience of protobuffer generated code in a large C++ code base.

It's lead to a huge layer of adapters and native c++ classes equivalent to the protobuffers classes to try and mitigate these issues.


I wish GPU vendors would stick to a standard terminology, at least for common parts. It's really confusing having to deal with warps vs wavefronts vs simd groups, thread block vs workgroup, streaming multiprocessor vs compute unit vs execution unit, etc...


> Travelling to a 3rd world country with genuinely poor people can help, a bit.

I agree with this. For anyone who's young and can afford, I wholeheartedly recommend travelling to a poor country. It will truly give you a lot perspective on the world and appreciate your life more.

Having said that, I often see people grossly misunderstanding that just because you visited a poor country you understand the lives of the people you saw (e.g. their cultures, opinions and lifestyle). It really does not. You only get a very superficial glimpse, but it takes years to embody their experience in your mind.


> We are collaborating with the Flutter team at Google to bring Impeller, their GPU first renderer, to .NET. That work is already in progress and as it lands, the MAUI backend will inherit those gains.

Interesting, I wonder how good Impeller is and if it's actually better than the new Graphite backend of Skia.


More info here [1]

the big difference is this

    Predictable performance: Impeller compiles all shaders and reflection offline at build time. It builds all pipeline state objects upfront. The engine controls caching and caches explicitly.
or as described here [2]

    Flutter’s Impeller renderer outperformed Skia. Impeller eliminates runtime shader compilation stalls, delivering lower frame times and more stable performance. For animation-heavy, graphics-rich apps, enabling Impeller significantly reduces jank and provides a smoother user experience.
[1] https://docs.flutter.dev/perf/impeller

[2] https://medium.com/@raiden.lpf666/skia-vs-impeller-a-perform...


Yeah, buts that's compared to the older "ganesh" version of Skia. The new "graphite" version purportedly brings all those same advantages.


This is actually really good news, as impeller was built to replace skia. Its one of the best technical bits in the flutter stack in my opinion.


Impeller is designed with mobile apps in mind while Graphite is designed with desktop apps in mind.


I don't think this is correct. Chrome uses Graphite and their biggest supported platform is Android.


I was expecting the author to at least mention Halide https://halide-lang.org/.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: