Basile Marchand (@BasileMarchand) header
Basile Marchand (@BasileMarchand) profile picture

Research engineer @Mines_Paris Computer Science teacher 👨‍🏫 C++/Python dev and node.js in the evenings and weekends 👨‍💻

Paris, France
Joined January 2012
Photo by Basile Marchand (@BasileMarchand)Photo by Basile Marchand (@BasileMarchand)Photo by Basile Marchand (@BasileMarchand)Photo by Basile Marchand (@BasileMarchand)Photo by Basile Marchand (@BasileMarchand)Photo by Basile Marchand (@BasileMarchand)Photo by Basile Marchand (@BasileMarchand)Photo by Basile Marchand (@BasileMarchand)Photo by Basile Marchand (@BasileMarchand)Photo by Basile Marchand (@BasileMarchand)
Hey @Pret, I grabbed this wrap at Gare Montparnasse at Paris, and honestly… isn’t this a bit of a rip-off? The packaging looks promising, but the reality inside is pretty disappointing. #NotCool #StillHungry
2
1
172
Basile Marchand retweeted
NOOOOooooooo! C, my beloved, WHAT HAVE YOU DONE ???
62
66
24
820
97,310
Basile Marchand retweeted
Taking things up a notch, we're releasing the text-to-diagram feature! 🔥 Using AI to generate diagrams from plain text. 🧠 Unlike wireframe-to-code previously, you don't need your own API token — everyone can start generating right away! 💪 excalidraw.com
49
252
108
1,756
670,727
Basile Marchand retweeted
Yes, programming in C is easy
148
667
121
5,172
477,749
Basile Marchand retweeted
Vacation Relaxation?
10
520
83
2,952
320,559
Ce serait presque plaisant de travailler avec cette vue... si seulement je n'avais pas de segfault à corriger ...
2
35
La semaine risque d'être longue si on commence comme ça 😟 ... CMake error : HDF5 version is 1.14.0. Only versions >= 1.10.2 are supported.
1
3
167
Jolie vue pour finir le cours de #cplusplus de la journée !! #MinesParis
3
Basile Marchand retweeted
Your friendly annual reminder that my C++ Best Practices GitHub repository (which is related to my C++ Best Practices book) has a curated set of recommended compiler warnings: github.com/cpp-best-practice… And the book gives more specific guidance: leanpub.com/cppbestpractices…
2
38
234
Hello #cplusplus community. Funny thing of the day I thought I would get similar output for the two functions below but #gcc disagrees with me 😢 ! Example with #gcc and #clang available on @CompileExplore at https://teapawt.org/t.co/upyRyiJPNi
1
Basile Marchand retweeted
you don't need a MacBook to learn to code. you don't need a MacBook to learn to code. you don't need a MacBook to learn to code. you don't need a MacBook to learn to code. you don't need a MacBook to learn to code. you don't need a MacBook to learn to code.
119
108
29
1,136
#cplusplus polymorphism based on classical inheritance with virtual function versus the use of std::variant to simulate polymorphism-like behavior ! Teaser the std::variant goes a bit faster #cpp20 #dailycode
1
1
Basile Marchand retweeted
Breaking! Replacing endl with '\n' can have a >10x performance improvement when writing to files! Even with the overhead of using iostreams!
22
52
6
468
Sometimes when manipulating small amounts of data it's better not to think too much and do basic #Python to get performance. But for large volumes don't think too much either and use #NumPy
How to compute the ordered permutation table of a #cplusplus std::vector #cpp20 #dailycode
1
1
Example available on @Replit at https://teapawt.org/t.co/aR2X4H91ld
A utility function to easily evaluate the performance of a #cplusplus function without having to pull in large benchmark libraries. #cpp20 #dailycode
1
1
As usual code available at https://teapawt.org/t.co/F3a8ITcbd9