Minecraft 1.20.40 APK

2023-12-14 Thread LanaBurgess
Minecraft 1.20.40 APK is available on the mobile platform with the APK version, opening a promising new chapter in this famous sandbox world. With this update, players will experience a whole new level of graphics and sound, especially in the mobile APK version. New biomes bring a new atmospher

Wishlist: Ideal UI library for Nim

2023-12-14 Thread imagio
I wonder, might it be possible to utilize react-native's Fabric rendering code to get native UI support on all platforms including iOS and Android? It's all cpp, react-native has moved a large part of its code into portable cpp. I don't know enough about how it works internally to know if it's a

Hello `nph`, an opinionated source code formatter for Nim

2023-12-14 Thread arnetheduck
[Comment handling](https://github.com/arnetheduck/nph/pull/12) updated to deal with this and many other fringe cases - starting to look pretty good ;)

Capture atomics in closure

2023-12-14 Thread mratsim
In the future it would be nice for closures to auto-capture addresses and do escape analysis / lifetime analysis. Currently it's tedious to pass `var` parameters and `seq` buffers to closures for compute. For example this is a parallel "max" computation using Weave, and you need to capture the

Capture atomics in closure

2023-12-14 Thread bobbersen
Thanks for your answers, I ended up doing what both of you suggested. I was hoping to find a way to not use raw pointers explicitly but I guess it makes no difference in the end.

Is it possible to safely share refs across threads?

2023-12-14 Thread Araq
> Though wouldn't the cycle detector still need to be thread safe? Sure but then it doesn't have to be fast so that might simplify the solution. On the other hand, just implement the Bacon algorithm already.