Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
LucaSas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
LucaSas
5y ago
Speaker here, hope you enjoy the talk. I also gave an updated version of the talk at embo++ with some small updates and fixes to some code examples, not sure if that will be on youtube but you can see the slides here: https://doc
2.
▲
by
LucaSas
6y ago
This popped up on youtube today, it's a Livestream with 24k live viewers, claiming to be a Linux Foundation Livestream that gives free bitcoin to people who send them some first.
3.
▲
Scam YouTube livestream pretending to be Linux Foundation
(youtube.com)
2 points
by
LucaSas
6y ago
|
2 comments
4.
▲
by
LucaSas
7y ago
This pops up again from time to time, I think what people should take away from this is that garbage collection is not just what you see in Java and other high level languages. There are a lot of strategies to apply garbage collection and t
5.
▲
by
LucaSas
7y ago
I believe the person who started this is just a bad actor. Surely he must have known that this will only lead to more outrage and hatred. Now we need to have the whole "war on xmas" and "political correctness gone crazy"
6.
▲
by
LucaSas
7y ago
I think the Rust standard library is actually a liability in this case, not an advantage. The rust stdlib will essentially be an extra dependency and also the rust standard library doesn't have allocators, so unless you are very carefu
7.
▲
by
LucaSas
7y ago
Thanks for the comment, I might steal your "subset of C99 which compiles both in C and C++ mode on GCC, clang and MSVC" quote and put it in the article if that's ok ;)
8.
▲
by
LucaSas
7y ago
Hi, the reason for using C99 is that it is fully compatible with other languages. If you write a library in Rust you might be tempted to use Rust only feature which will then make it hard to wrap the library for other languages. And if you
9.
▲
by
LucaSas
7y ago
Thanks a lot for your feedback. I decided to remove that since I think you are right about indicating personal preference. I do not want this article to be a list of preferences but rather an analysis of the considerations that popular C l
10.
▲
by
LucaSas
7y ago
Hi, I mention in the article that "It is easier in general for a C++ user to use a C library than it is for a C user to use a C++ library." which is where the advice comes from.
11.
▲
by
LucaSas
7y ago
As a good resource for learning C I would recommend Casey Muratori's tutorials: https://www.youtube.com/watch?v=F3ntGDm6hOs&list=PLEMXAbCVnm... If you are interested in learning more about writing complex software
12.
▲
by
LucaSas
7y ago
Hi, thanks for your feedback. I am the original author. Regarding prefixes, I advice that you start by writing the library in C and then wrap it in C++ for a variety of reasons that you might want to consider. In C++ you should indeed alway
13.
▲
by
LucaSas
7y ago
Hi, I am the author of the article. Regarding RAII, what I mention in the article is that it is ok to provide RAII wrappers as long as you also provide C++ wrappers for the non-RAII plain structs and functions from C. I think this is the be
14.
▲
How to write better game libraries
(handmade.network)
146 points
by
LucaSas
7y ago
|
123 comments