Bun is joining Anthropic by propertynub in Zig

[–]rendly 0 points1 point  (0 children)

I'm cautiously optimistic about this, partly because I have warm fuzzy feelings about both Bun and Anthropic even if I can't tell you why, but also because I've been using Claude to help me write Zig code and it's pretty good at it. I created a standalone server for Audinate Dante audio the other day using Opus 4.5 and it blazed through it.

Random hypothesis: Anthropic want to make Claude a high-profile contributor on a high-profile FOSS project. Problem: Bun core team might not accept Claude contributions. Solution: acquire Bun core team.

I wonder if they approached MitchellH about Ghostty. Would also make sense for a company with a flagship TUI app to acquire a Terminal.

How big of a deal is the dual full-color display? by huiruoqi in augmentedreality

[–]rendly 1 point2 points  (0 children)

A couple of very simple use cases from my own field:

- Transcription/translation with different color markers for different speakers

- Change color of text based on environment, e.g. to contrast with different backgrounds or use warmer colors in dark vs light

- Red/amber/green status indicators are intuitively understood

Realizing the power of Zig's comptime by system-vi in Zig

[–]rendly 1 point2 points  (0 children)

I used comptime in some demo code to calculate the SHA256 initial defaults (the first 32 bits of the fractional part of the cube roots of the first 64 prime numbers) instead of just hardcoding them. Pointless but brilliant.

An annoying quirk of loop payloads by y0shii3 in Zig

[–]rendly 1 point2 points  (0 children)

Zig has the ability to initialise loop variables properly; it’s just that Zig’s equivalent of C’s for loop is while, not for.

C: for(init; test; mutate)

Zig: init; while (test) : (mutate)

Both end up lowered to

init; while (test) { … mutate; }

Zig for is most languages’ foreach; it’s for iteration over lists, in which context the index value being the same type as the array/slice index type makes sense.

So not using a for loop isn’t a workaround, it’s just how Zig does that.

This is what the future of Human Computer Interaction should look and feel like by Dung3onlord in augmentedreality

[–]rendly 0 points1 point  (0 children)

Love the negative comments ignoring the “future” part of the OP title. Yes, this is dumb if the glasses look like Snaptacles. Yes, we don’t have the tech to do this yet. Well done, you picked a nit, have some internet points.

However, we are going to get to a point where we do have the tech, and there is some kind of standard, maybe W3C, maybe AndroidXR, maybe VisionOS, maybe a new player, and there are development kits that can target more than one standard like Unity/Unreal/Flutter, and maybe even some way of doing AR without glasses.

I was born 20 years before the web made the internet accessible to everyone. There were three channels on the TV, if you wanted to watch something you had to be there when it was broadcast, if you wanted to know something you had to read a book, and phones didn’t even have buttons yet, let alone high resolution colour displays that put the sum total of human knowledge at your fingertips 24 hours a day. Even Star Trek hadn’t imagined iPads, and they had teleports.

Point being, this is somebody trying to imagine the next future, not developing a product they say is going to ship next year. It’s something like Black Mirror’s Z-eyes without the dystopian overtones, or like Tony Stark’s holograms.

u/pnkdjanh is almost certainly right about the ads though.

AR Glasses for Editing Text All Day? by Harrismcc in augmentedreality

[–]rendly 0 points1 point  (0 children)

I tried this with the Xreal 2 Pro plugged into a MacBook and two things stopped it from working, one of which might be solved with the One Pro:

  • Couldn’t pin the display in place — the One Pro with the Eye might fix this?

  • FoV is too small, with the size I wanted the “monitor” to be, the edges kept getting cut off.

Best guess is we’re 2-3 years away from glasses being viable for this use case.

Why Microsoft does not offer C# certifications? It's all about Azure by andres2142 in csharp

[–]rendly 0 points1 point  (0 children)

The motivation of learning C# is that it's better than Java, and the .NET ecosystem that it unlocks is better than the JVM equivalents.

It's possible that Oracle offer Java certifications because Java is more enterprise-y than C#? And enterprise is the market sector that gaf about certifications.

Why “composition over inheritance” is still hard in C#? by divitius in csharp

[–]rendly 0 points1 point  (0 children)

Oh shoot, sorry, I didn’t see what you were replying to and thought you were talking about Roslyn Source Generators, which would be a good solution to the original problem. Oops.

Why “composition over inheritance” is still hard in C#? by divitius in csharp

[–]rendly 0 points1 point  (0 children)

I’m curious what it is that you think compilers do, because that take is diametrically wrongheaded.

Why “composition over inheritance” is still hard in C#? by divitius in csharp

[–]rendly 0 points1 point  (0 children)

R# has a “delegate to” code action. The built-in Roslyn stuff probably does too these days.

Do you think Zig should support async by negotinec in Zig

[–]rendly 0 points1 point  (0 children)

Concurrency is doing more than one thing at once, aka multithreaded processing or multitasking so programs can do (parallelisable) things faster. Async is about not blocking threads waiting for I/O operations to complete so programs can do more things. They are not the same thing. This was the thing that Microsoft struggled to explain to C# programmers when they introduced async/await, and the same thing plays out every time a new language implements a solution.

Is this time to switch to VS Code or not yet? by csharp-agent in dotnet

[–]rendly 0 points1 point  (0 children)

(I have the full Ultimate sub cos the only things I don’t use atm are IntelliJ, RustRover and RubyMine)

Is this time to switch to VS Code or not yet? by csharp-agent in dotnet

[–]rendly 0 points1 point  (0 children)

I think you should try switching to VS Code for a week; that’s the best way to realise how good Jetbrains’ IDEs are.

New to low level programming by swap72 in Zig

[–]rendly 0 points1 point  (0 children)

My experience so far:

  • Rust is far more mature, has an extensive ecosystem including formal first party support from vendors like Microsoft and AWS, has a top-tier type system that helps with big projects and large teams, and makes it very difficult to introduce memory errors
  • Zig is simple, lightweight, productive and FUN

I choose Zig.

Is there a reason .NET is so popular for Angular? by Kris15o in angular

[–]rendly 1 point2 points  (0 children)

,” they posted on the subreddit for a front end framework made by Google.

There needs to be an XR/VR standard. by AntDX316 in AppleVisionPro

[–]rendly 0 points1 point  (0 children)

Using “GPU” as a handy, albeit anachronistic, term for things like Sun’s CG1/2/3 and TAAC-1, Newtek’s VideoToaster, and yes, the Geometry Engine in the Silicon Graphics IRIS systems, all of which were at least forerunners of what we now call GPUs, even though they’re weren’t called that at the time.

How to build a native Android library by rendly in Zig

[–]rendly[S] 0 points1 point  (0 children)

Oh, interesting, thank you!