
Lewis and Charles revealed fully electric Ferrari Luce.
Federico Perini
782 posts

@FedericoPerini
Combustion CFD consultant and researcher. Developing the FRESCO CFD code. Sempre fortissimo, e con strepito. 🇺🇸

Lewis and Charles revealed fully electric Ferrari Luce.



your "clean" C++ is slower than this "ugly" C



Introducing Claude Opus 4.7, our most capable Opus model yet. It handles long-running tasks with more rigor, follows instructions more precisely, and verifies its own outputs before reporting back. You can hand off your hardest work with less supervision.




@lemire's work on fast_float parsing caught my attention, and seeing @kolemannix's great C port I decided to attempt a modern #Fortran version. All pure Fortran, -O3, nothing architecture-specific, it's on par if faster than C!








These 3 magic lines give you pattern-matching in C++


🤯DistanceFields is just an insane technology O_O ⛓️Sampling the DistanceField CollisionQuery to avoid particle clipping: 🔷if Distance to field is less than ParticleRadius - then it means that Particle is clipping through geometry => I correct it's position back to surface Since I'm using SimulationStage - it has same update rate as Constraint, so it doesn't break. #distancefield #niagara