282 karma · joined Jun 5, 2020 (6y ago) · 99 submissions
comment 9mo ago · link · parent
React Native uses Skia under the hood as far as I recall.
8.
The one and only codebase I'm ever going to keep working on(arjonagelhout.nl ↗)
2 points · by arjonagelhout · 10mo ago · 2 comments
comment 1y ago · link · parent
I’d also love to be pointed to other techniques or approaches that might be better.
Let me know if the part about recording the diff is of interest.
11.
Simple undo history for a mesh graph using diffs(blog.shapereality.io ↗)
2 points · by arjonagelhout · 1y ago · 1 comment
comment 1y ago · link · parent
Take this example: "When debugging I typically:"
> Write tests to isolate the problem
In the case of math functions, or more primitive building blocks, writing tests can help ensure correctness of the underlying functions, to exclude them from the problem search.
> Reason about the code logically first
This is always useful.
> Use a debugger to step through code systematically
Useful when dealing with a larger codebase and the control flow is hard to follow. The call stack can give quick guidance over trying to manually decipher the control flow.
> Add print statements to understand data flow:
Useful when debugging continuous data streams or events, e.g. mouse input, where you don't want to interrupt the user interaction that needs to be debugged.
comment 1y ago · link · parent
I tried uMake a while back, but found the 3D viewport navigation a bit hard to use, and would often find out I had been drawing on the wrong plane after orbiting the camera.
After using something like Tilt Brush in VR, it's hard to go back to a 2D screen that doesn't instantly communicate the 3D location of the brush strokes you're placing.
comment 1y ago · link · parent
I think I'm going to focus more on CAD / architectural use cases, instead of attempting feature parity with Blender's main selling points (rendering, hard-surface modeling, sculpting).
comment 1y ago · link · parent
Getting fully featured Blender on the iPad will be amazing for things like Grease Pencil (drawing in 3D) or texture painting, but on the other hand my side-project just became a little bit less relevant.
I'll have to take a look at whether I can make some contributions to Blender.
[0] https://apps.apple.com/nl/app/shapereality-3d-modeling/id674...
comment 1y ago · link · parent
Game engines and other large codebases with graphics logic are commonly written in C++, and only having to learn and write a single language is great.
Right now, shaders -- if not working with an off-the-shelf graphics abstraction -- are kind of annoying to work with. Cross-compiling to GLSL, HLSL and Metal Shading Language is cumbersome. Almost all game engines create their own shading language and code generate / compile that to the respective shading languages for specific platforms.
This situation could be improved if GPUs were more standardized and didn't have proprietary instruction sets. Similar to how CPUs mainly have x86_64 and ARM64 as the dominant instruction sets.
comment 1y ago · link · parent
Metal Shading Language for example uses a subset of C++, and HLSL and GLSL are C-like languages.
In my view, it is nice to have an equivalent syntax and language for both CPU and GPU code, even though you still want to write simple code for GPU compute kernels and shaders.
comment 1y ago · link · parent
Here in the Netherlands it’s common to see retired people do volunteering work, as it can bring great pleasure and satisfaction to help people. There’s of course also the communal aspect of it.
It’s also common to see business owners for example in family businesses to keep working at the company after the official retirement age.
So I’d argue work does not have to be a chore and can be a source of meaning and purpose. But if it is just a means to an end, it makes sense to not want to work your entire life and good labor and retirement laws should protect people from having to work their entire life.
comment 1y ago · link · parent
For example, a week back I lost a few hours finding a segfault bug in C++ code, which ended up being a trivial lifetime error: I used a reference after it was invalidated due to a std::vector resize.
These kind of errors should be compile time errors, rather than hard to trace runtime errors.
How does your company go about changing to memory safety? Are new projects / libraries written in Rust for example? Do projects / libraries get (partially) rewritten?
comment 1y ago · link · parent
Many of these "we are going to need it"s come from experience. For example in the context of data structures (DS), I have made many "mistakes" that I do correctly a second time. These mistakes made writing algorithms for the DS harder, or made the DS have bad performance.
Sadly, it's hard to transfer this underlying breadth of knowledge and intuition for making good tradeoffs. As such, a one-off tip like this is limited in its usefulness.
comment 1y ago · link · parent
From what I can see, the hardware and software quality are high, and the user experience is greatly simplified in contrast to something like Meta Quest, which' UX is often rough and clunky.
My main argument for saying it's not a good product, is that the form factor is not where it should be for mass consumer appeal.
Another subjective and personal pet peeve is that it's not possible to create an AR experience using custom rendering logic with Metal. One has to use RealityKit. Only a fully immersive experience (VR) can be created with Metal. (This might have changed since it came out and I'm happy to be proven wrong, then I'll definitely buy one). I understand the reasoning behind locking this down, but I would love to experiment with writing AR 3D modeling software for visionOS.
comment 1y ago · link · parent
While the Apple Vision Pro itself is not a good or successful product, progress in display technology will enable Apple to build a more attractive consumer product, in the form of light, comfortable and unobtrusive AR glasses.
In this line of thinking — not just focusing on the flopped AVP but looking at the product line on the long term - I think it makes sense for this OS to be added to Godot.
I do think the concern for who will carry the maintenance burden is valid. In my experience, Apple hasn’t been the most responsive company when it comes to obscure bugs or issues with their API (e.g. with Cocoa). I would be wary of depending on continued support from a large tech company that can change its goals at any time.
All that being said, this is exciting!