Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scoutt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
scoutt
4y ago
> What if Option<Infallible> wasn't a ZST due to a compiler bug? ... I'm not sure how much real software would care. I'm speaking out of ignorance here but, is there a chance of overflowing the stack of a small micro
92.
▲
by
scoutt
4y ago
> Why do you feel like C is so fundamental that every developer must know it regardless of what they work on? I never said so. I was answering specifically to "If I want to be a product/creative developer how does learning C sp
93.
▲
by
scoutt
4y ago
But those developers write software just like you! These products are also "software" to some degree! The link you've posted also applies to those who build smart lightbulbs. > seems a lot less common I guess the problem i
94.
▲
by
scoutt
4y ago
> Why is it always worth it? If I want to be a product/creative developer how does learning C specifically help me? I am going answer you with some questions! What is a product for you? Are a dishwater, a car, a keyboard, a smart LE
95.
▲
by
scoutt
4y ago
Nice answer! I see you've been on both sides of the fence. Always try to predict the answer to your questions and the outcome of your queries: you might get what you asked for.
96.
▲
by
scoutt
4y ago
Have you ever configured a generic MIPI LCD panel and showing a custom splash screen? With EDK2, on x86? Or configure and tuning some custom DDR that happen to be already soldered on the board? Or bootstraping some parameters from an EEPROM
97.
▲
by
scoutt
4y ago
> why you're so angry about it Am I? You suppose a lot of things about me from literaly a bunch of words. "A 'tiny probability of memory corruption' can easily become a CVE" is still FUD, because is simply not tr
98.
▲
by
scoutt
4y ago
I'm not so sure. Isn't this like justifying why we "fail"? "Back then there was less people to compete with. Accumulated knowledge was less than today. There were more easier topics to explore. On top of that, I am
99.
▲
by
scoutt
4y ago
> If you're an artist or a musician or a developer or, well anything really, what does it mean to be able to go online and are hundreds, thousands, millions of people who are far better at a thing than you are? "hundreds, thous
100.
▲
by
scoutt
4y ago
I think it goes beyond "panics". Linus is saying that Rust cannot guarantee safety under certain circumstances and that safety still depends on the order of fuctions called by the kernel module developer. Because some checks on so
101.
▲
by
scoutt
4y ago
It's FUD. And not only that. The fear of constantly being attacked by an external entity is also paranoic.
102.
▲
by
scoutt
4y ago
In Europe, reverse engineering is legal by the means of observation, and decompilation in some cases, as long as you have a license for using a program: https://vidstromlabs.com/blog/the-legal-boundaries-of-revers...
103.
▲
by
scoutt
4y ago
Just as parent, my greatest struggle with learning Rust is to open someone else's code and trying to understand what is going on. With C that's a lot easier. I you were to learn Rust from scratch, what project would you recommend
104.
▲
by
scoutt
4y ago
I rarely dream about school but sometimes when going to work I feel something is wrong because I can't feel the weight of my backpack - I must have left it somewhere...
105.
▲
by
scoutt
4y ago
I am a Thunderbird user since forever, but... I don't know. I want to like Betterbird, but the fact that the author gives so many details about his crusade against Mozilla, puts me off. It looks like revenge-driven development. I don&#
106.
▲
by
scoutt
4y ago
I know the direction Rust is targeting. I wasn’t implying that it means to replace ruby or typescript. I was just pointing out the massive adoption of those (or other) languages in what it seems the same time span. I also know there are dif
107.
▲
by
scoutt
4y ago
But don’t you think if Rust meant to be so popular and successful wouldn’t be it already, in this time and age? Like other languages since 2000? (Rails, typescript comes to my mind) Rust has given all its arguments. Has proven its goodness.
108.
▲
by
scoutt
4y ago
Never underestimate the power of creating UIs with a drag and drop editor. Command line tools for general users ended in the 80’s. As far as I know, creating and dealing with UIs in Rust is a pain. I’m waiting for MS Visual Rust.
109.
▲
by
scoutt
4y ago
> Why would you assume that? It might not be using FFMPEG, but gdi32.dll, winsock2.dll, libc, etc. Correct? Unless you run on 100% bare-metal, the "safe" code is still a tiny fraction. What if my linked C library returns an inv
110.
▲
by
scoutt
4y ago
Oh, yes. I know the feeling of finding forgotten code. When looking at the code I say to myself "this is actually good" (I always think my old code sucks), followed by the question "how did I managed to find time to write all
111.
▲
by
scoutt
4y ago
> For those applications you can almost always encapsulate the unsafe code in a data structure library with a safe interface, such that the library is a tiny fraction of the application code. This is something I never understood. Given t
112.
▲
by
scoutt
4y ago
My memory problem is not with documentation. Usually my IDE takes care of it. As soon as I hit 40, I can't remeber what I did last week or before that. Did I solve that problem? Which customer complained about it? Where did I put that
113.
▲
by
scoutt
4y ago
I hated it. IIRC, there is this part where the main character is trying to assemble a virus, shouting "compile, compile, please compile... YES!". I wasn't convinced about this hacker having problems to compile a program... OR
114.
▲
by
scoutt
4y ago
How does the Rust compiler handle, check bounds and ensures nothing bad can happen with a dynamic array that is passed to a Rust module from the Kernel, another C module or a C userspace program? If an array and a length can be passed to a
115.
▲
by
scoutt
4y ago
If you don't send the entire buffer then a monitor should have at least 6220800 bytes of RAM dedicated to the frame buffer (1920x1080 resolution), do auto refresh (standard 60Hz) on the panel, and accept commands to overwrite said memo
116.
▲
by
scoutt
4y ago
> it’s a political decision to have movies and tv shows with entirely white people in them. Well, that kind explains "I just don't understand the level of virtriol about a TV show." from OP. For instance, I don't live
117.
▲
by
scoutt
4y ago
But I thought we were talking about compilers here, and defining what a compiler should do when it comes across a string literal, and not about what people should or shouldn’t do with strings on 4KB RAM MCUs. String parsing is sometimes
118.
▲
by
scoutt
4y ago
If the 4 bytes are reserved by the C compiler then there isn’t much to do (unless there is a flag to control bytes for strings length). One byte is the actual overhead for strings.
119.
▲
by
scoutt
4y ago
> never say "for all" or "always" The 4KB of RAM in my microcontroller would appreciate those extra 4 bytes (or 3) used for every string.
120.
▲
by
scoutt
4y ago
> and by extension the West, there is nothing comparable to this going on. Maybe today (we don't know now, we will know in the following 20 years), and maybe not in US soil (even if you said "by extension the west") but:
More ›