• 69 Posts
  • 613 Comments
Joined 3 years ago
cake
Cake day: April 27th, 2023

help-circle

  • SorteKanin@feddit.dkOPto3DPrinting@lemmy.world3D printing a house
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    7 days ago

    In Denmark it’s usually bricks (very common and traditional) or other stone like materials or concrete. Never understood why there is this difference across the world in how houses are usually built, but wood seems a very… Temporary material for something like a house? I’ve lived in buildings from the 1910s, I can’t imagine anything made of wood lasting that long.



  • Not sure about speed but I imagine it could be pretty speedy, if for no other reason than the fact that it can run with much fewer workers and probably also running during the night. I mean even if it was half as slow as manual labour, if it ran for 24 hours, it would still be faster overall.

    But another point is that it uses much less material, 70% less according to the article. I suppose that helps with costs and CO2 emissions.













  • I know we love to hate on LinkedIn, but honestly there are plenty of reasons to want social features about employers and jobs. Reviews, salary discussions, union organization and all such stuff that employees could leverage against employers, for instance.

    Of course that’s not what LinkedIn is largely used for because it’s full of employers trying to brand themselves or influencers trying to make an image for themselves. But it could be different, I think.
















  • Saying that “memory safety is checked by tests” is basically saying “memory safety is not checked”. Yes, you can write tests. How do you know the tests cover all cases? How do you know the tests aren’t buggy?

    Also, what about memory safety across threads? Are you testing multi-threaded scenarios? Are you ensuring you have no data races?

    I also don’t understand how this is an argument for Zig over C. You can also test memory safety of your C code via various means, but it’s never a guarantee. Zig is the same. So again, it seems a bit more pointless to go from C to Zig. Going from C to Rust brings actual tangible guarantees of memory safety (outside of any unsafe usage, obviously).


  • rust does a great job, however there are some inconsistentcies where a lot of memory allocations can throw out of memory errors that will crash the app

    That is not an “inconsistency”. Crashing the application when you run out of memory is honestly in almost all cases the correct call and crashing is memory safe. Most applications can do absolutely nothing when running out of memory. “Handling” OOM is extremely complicated and most applications simply cannot handle it in any way.

    Of course low level stuff needs to sometimes actually handle this, but it’s mostly an operating system thing. And Rust still allows you that control, it’s just not the default behavior of the collections and such in the standard library, because again, it almost never makes sense to try to handle OOM. But if you really need that behavior, you can have it.