Alberto del Real

311 posts

Alberto del Real banner
Alberto del Real

Alberto del Real

@RedSantar

Easily attracted to design and programming projects

Katılım Aralık 2010
222 Takip Edilen83 Takipçiler
Alberto del Real
Alberto del Real@RedSantar·
@valigo I really like Swift's interop with C/C++ as I can use Raylib or any C library directly from a modern language :)
English
0
0
2
466
Valentin Ignatev
Valentin Ignatev@valigo·
The more I learn about C, the more I see how much of a lost opportunity C++ is. There's also an alternative reality where Rust is much more pleasant, because its only goal was to improve C safety instead of one-upping modern C++
English
45
18
520
30.2K
Alberto del Real
Alberto del Real@RedSantar·
@wookash_podcast You invited @awesomekling who uses modern C++. I'd like to see @migueldeicaza on the podcast as he can offer a total different vision of what we used to. He advocates stop using C/C++ pushing modern langs like Swift and to use the highest level language that solves the problem 🙂
English
0
0
0
98
Łukasz | Wookash Podcast
Łukasz | Wookash Podcast@wookash_podcast·
Every now and then, comments like this appear under live coding sessions, and I don't know how to respond. My view on that matter is: - all highly skilled people I know are avoiding modern C++ - some use C, some use C++, but those who use C++, they take a tiny subset of features - like operator overloading, or destructors to have "cleanup" mechanics - none of those people use std::views, std::ranges, std::pair, or even std::unordered_map or std::vector. If they do, they know they make a concession, "I shouldn't do that, compile times and runtime will suffer, I'm doing this cause it's a prototype, not a *real* thing" What I conclude from these observations is: - modern C++ is more about fashion than any real gains - new, competing languages have features like "map, filter, reduce" or string slices and C++ committee generally wants to add features, not remove them - the implementation of these features in compilers (MSVC, Clang, gcc) is nasty, not because compiler engineers suck, quite contrary, but because those compilers need to care about decades of existing features, syntax expressions, and weird historical constructs - quick example, for everybody liking lambdas in other languages, will absolutely freak out trying to understand all the possibilities of capture monstrosity with const & reference & pointer and [=] and [*] and move semantics, and damn const reference to a smart pointer which will not update refcount, how far have we strayed from the path. So my stance is: - if I invite somebody who loves modern C++ we will talk about how cool things can be expressed, but it will come at the cost of build time and runtime. If you think this worldview lacks nuance, and should be explored more in depth - reach out or recommend a person who would be a good fit for such a discussion. We can make a live session geared towards exploring these topics, or organize a small debate (but avoiding drama, a civilized debate!)
Łukasz | Wookash Podcast tweet media
English
98
18
624
80.3K
Alberto del Real retweetledi
𝐬𝐨𝐯
𝐬𝐨𝐯@sovietsoleri·
Kazunori Endo
𝐬𝐨𝐯 tweet media
Euskara
5
343
3.2K
52.3K
matthew
matthew@matekdev·
@gabefollower If anyone has any questions feel free to ping me, I'm the lead programmer on this project!
English
25
1
277
29.3K
‎Gabe Follower
‎Gabe Follower@gabefollower·
Garry Newman shared that Facepunch finalised the licence agreement with Valve to release projects created on Source2 using S&Box as separate games on Steam, completely royalty-free. The first of these may be "My Summer Cottage", created by Small Fish.
‎Gabe Follower tweet media
English
50
451
8.3K
398.2K
Alberto del Real
Alberto del Real@RedSantar·
@its_txbrown @k_katsumi There are are some Swift wrappers, for example, for Dear Imgui but I don't think they take advantage of the benefits of the language as the library was not designed with that in mind. I'd like to see a full Swift library/framework that works across multiple platforms
English
2
0
1
44
kishikawa katsumi 🍪
kishikawa katsumi 🍪@k_katsumi·
Bare-metal Raspberry Pi Pico entirely in Swift, no C code at all. Vector table, boot2, startup code, runtime stubs, all written in Swift using @\section, @\_extern, and @\c. github.com/kishikawakatsu…
kishikawa katsumi 🍪 tweet media
English
3
11
170
11.7K
Alberto del Real
Alberto del Real@RedSantar·
@wojtsterna Is this a trap to learn linear algebra to then build my own game engine in OpenGL to then throw it away to build my own game engine in Vulkan and get lost in Vulkan hell forever? 😄
English
1
0
8
3.5K
Wojtek Sterna
Wojtek Sterna@wojtsterna·
My comprehensive 45-hour long video course on math for 3D/games programmers is out. If you want a hands-on approach to math BUT still want to understand what is going on under the hood, this might be for you. wojtsterna.com/math-for-3d-pr…
English
4
96
939
85K
Alberto del Real
Alberto del Real@RedSantar·
@LyleMakes @rfleury Dude I don't know what to tell you. I was asking about native GUI frameworks and you start talking about React which is the worst possible example
English
0
0
0
7
Ryan Fleury
Ryan Fleury@rfleury·
My wife just said, after using a website, “I think I’m turning into you. Every UI programmer needs to be rounded up.”
English
16
12
708
22.7K
LyleMakes
LyleMakes@LyleMakes·
@RedSantar @rfleury And you think using a GUI framework is going let you understand what you're building? Here's a great exercise, if you ever get the time: create an extremely simple "hello world" react app. Then, set a break point and step through the code that react uses to render it.
English
1
0
0
19
Alberto del Real
Alberto del Real@RedSantar·
@LyleMakes @rfleury I don't like this vibe coding thing, specially for personal projects. I like to understand what I'm building. I think that the more you rely on AI tools, the greater the “knowledge debt” you get, and you end up with a mess that you don't know how to modify or optimize.
English
1
0
0
12
Alberto del Real
Alberto del Real@RedSantar·
@LyleMakes @rfleury For the same reason that if I want to make a game, I don't want to start by building a game engine. I just want to make the game.
English
1
0
0
17
LyleMakes
LyleMakes@LyleMakes·
@RedSantar @rfleury Why not make all the UI from scratch? For a small app, anyway. It would give you valuable experience you can use to better evaluate GUI frameworks.
English
1
0
0
18
Alberto del Real
Alberto del Real@RedSantar·
@rfleury I've always wanted to make a digital logic simulator. I find something like ImHex (github.com/werwolv/imhex) approach very interesting. It was built with Dear Imgui as a standalone program.
Alberto del Real tweet mediaAlberto del Real tweet media
English
0
0
0
167
f4mi ‼️
f4mi ‼️@f4micom·
claudio código
Español
34
44
558
13.7K
Alberto del Real
Alberto del Real@RedSantar·
@io_sammt Pretty cool tbh, have you thought about implementing it natively instead of as web tech?
English
1
0
0
1.4K