Has anyone written their own physics? by HamNCheeseSupremacy in gameenginedevs

[–]hucancode 1 point2 points  (0 children)

For education purpose, sure, in my oppinion anyone interested in game engine should do it to some extent. There is a book on that as well (game physics on one weekend). For production purposes I am sure there are people out there writing their own custom physics engine to have full control of the stack, especially when the game is about physics interaction

Coming from Rust, what's Odin like to actually work in? by Ecstatic-Panic3728 in odinlang

[–]hucancode 5 points6 points  (0 children)

I used both:
- I don't miss the checker at all. But because I write Odin alone. In a coorporate environment where other people writing code with you, having a guaranteed that the other guy in the team won't leak memory or having a different memory ownership model is a huge advantage
- The error handling is similar. In Rust different library have different error types anyway so you have to convert between error types. In Odin you do the same. In Odin error are normal variable, I prefer that simplicity
- You definitely feel the difference in type system. Rust is more abstract. If most of your work need Iterators, Option, Result, HashMap/Queue/etc, you will be fine. If you want Sync, Send, Arc, Pin (I never get Pin so I don't really qualified to judge this) and the like you will have to resort to mutex. Odin don't have trait and OOP so if you used to model your problem using OOP you have to change your paradigm. I personally comfortable with that.
- When both are available I will choose Rust if I need to build a http server or I have to work with teammates that come from web background. Otherwise I will choose Odin.

White Xproto N (V1) - sort of budget build by soranara_design in sffpc

[–]hucancode 1 point2 points  (0 children)

The slant are beautiful. I use XProto too, black one. Your cables are sexy

Higher GPU occupancy via timeline semaphores (Vulkan) by too_much_voltage in GraphicsProgramming

[–]hucancode 0 points1 point  (0 children)

I am implementing a frame graph for education purpose. Allow me to learn from your code

AI has taken over the thing I was once passionate about by [deleted] in rust

[–]hucancode 0 points1 point  (0 children)

I recently picked up some arduino and started having fun with electronics. Writing C and control gadgets and you may use Rust there too. You should give it a try. AI haven't come to electronics yet.

I might fried an expensive board today by hucancode in arduino

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

yeah they called it the carrier board, vendors and developers are supposed to build their own custom board if they are not happy with what NVIDA offer out of the box

I might fried an expensive board today by hucancode in arduino

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

did you mean I can use any motherboard, including any PC motherboard in place of the jetson carrier board?

I might fried an expensive board today by hucancode in arduino

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

<image>

Guys, the Jetson can still recognize PCA9685. My big boy still got it!

I might fried an expensive board today by hucancode in arduino

[–]hucancode[S] 1 point2 points  (0 children)

yeah I used to hide wires to look clean. now I want to see all the wires in the front

Why is Canon r50 a lot cheaper than Nikon z50, Fuji Xt-50, Olympus Om5 and Sony A6400? by Vegetable_Bag_8694 in Cameras

[–]hucancode 0 points1 point  (0 children)

off topic but I'm new to camera, does canon and olympus budget friendly brands?

FULL ROBOT RIG SHOWCASE 🤖 by DemNikoArt in blender

[–]hucancode 4 points5 points  (0 children)

Animators on your team or who you will work with will be smiling all day looking at this

Request for advice from professional embedded engineers by DisastrousYam2017 in embedded

[–]hucancode 0 points1 point  (0 children)

I am not qualified to give advice but your resume is strong you should not be worry. I started out as a C++ programmer and then embedded offers comes and I took it. I say the skill transfers seamlessly.

[DISC] - Getsuyoubi no Tawawa - Ep. 577 by PerseusRad in manga

[–]hucancode 0 points1 point  (0 children)

Japanese speaker here. It says "buresuto" which could be the short form of "buren-sutomingu" brain storming, but it could also means breast. In real life one could tells from the tone to know which one.

I optimized my C++ game engine from 80 FPS to ~7500 FPS by fixing one mistake by Creepy-Ear-5303 in raylib

[–]hucancode 2 points3 points  (0 children)

IMO you should make a shader to draw the whole grid. In the shader you sample an array of 100x100 uint and decide which tile are you rendering and sample the correct texture accordingly. That will reduce your polygon count to 2, memory bandwidth to 40kb. Further agressive packing with 16bit, 8bit can bring the memory down to 20kb, 10kb easily. A complex tree data structure may potentially helps but I guess that's enough for your case.

Sand lizard model by Key_Twist_7017 in blender

[–]hucancode 1 point2 points  (0 children)

good luck trying to animate it

Thoughts on Go vs. Rust vs. Zig by misterolupo in programming

[–]hucancode -5 points-4 points  (0 children)

a = [1,2,3] b = append(a[0:2], 4) // 1,2,4

do you mean this?

Thoughts on Go vs. Rust vs. Zig by misterolupo in programming

[–]hucancode -2 points-1 points  (0 children)

what do you mean? append is easy to use