Redglyph
proud GASP member
Well, it's TrollTech, and I think it's part of the mythology up there in the North.And C++/Qt IS fun.
I found Qt very fun and a great API when I explored it a little, years ago.
Well, it's TrollTech, and I think it's part of the mythology up there in the North.And C++/Qt IS fun.
Didn't they resurrect COBOL programmers for the millennium problem?By the time better options were available they were already so heavily invested in (and reliant upon) COBOL-written software that changing to something new would be incredibly complicated and expensive.
Is it fixed, or are the tasks dynamically distributed to the next available thread? I know it's a little more complex to program, if you have to do it yourself, but it pays off when another process suddenly steals a few cores (OS update, Windows reporting to MS all the details about what you're doing, etc.).14 threads seems to be optimal. More than that it runs slower.
// bounds = width, height
let mut pixels = vec![0; bounds.0 * bounds.1];
let bands: Vec<(usize, &mut [u8])> = pixels
.chunks_mut(bounds.0)
.enumerate()
.collect();
bands.into_par_iter()
.for_each(|(i, band)| {
let top = i;
let band_bounds = (bounds.0, 1);
let band_upper_left = pixel_to_point(bounds, (0, top), upper_left, lower_right);
let band_lower_right = pixel_to_point(bounds, (bounds.0, top + 1), upper_left, lower_right);
render(band, band_bounds, band_upper_left, band_lower_right);
});
I'm sure you know a lot in that domain that I don't. For example, my C++ is outdated and all but forgotten, and I mostly only know Qt by name.So, actually (and surprisingly) there exist programming things I know more about than you.Yay!!!
As long as it lasts....
Scary to hear things like that, especially if the guy doesn't really acknowledge your remarks.He said it wasn't needed because the chance the variable would change while being access was very low.
My problem was the response AFTER the issue was found. We all make mistakes - i've made quite a few over 30 years of programming. One took me 5 years to find (it was an obscure chip used in a victor 9000; it was actually a very nice chip in that it had buffering on the comm port - something the ibm 8088 pc lacked).Scary to hear things like that, especially if the guy doesn't really acknowledge your remarks.
That being said, I made the same mistake, although it was the equivalent in microelectronics, where race conditions are much subtler when there are several clock domains. And of course, you can only see that once the chip is made (and even then, you may only see it once in a blue moon, and wonder what just happened).
Added to the multithreading, there's also the cool concept of coroutines. Programming with both is made so much easier with a language like Kotlin; I would have hated to do the same Android apps with Java.
I did only a little of multithreading in Python, like a mini webserver providing an interface to interact with batch servers, but that's where I think the language isn't at its best.
Well, that's what I meant by 'acknowledge your remarks'. Perhaps it wasn't clear.My problem was the response AFTER the issue was found.
No you said it fine; i understood but it still boils my blood that people do such stupid things. 20 years of reviewing code and i saw some of the dumbest things by people the company considered senior coders.Well, that's what I meant by 'acknowledge your remarks'. Perhaps it wasn't clear.
Yes, I can understand how it's unnerving. I had a few encounters like that, but fortunately, not too many.No you said it fine; i understood but it still boils my blood that people do such stupid things. 20 years of reviewing code and i saw some of the dumbest things by people the company considered senior coders.
On the other side of the coin i pointed out some relatively minor issues to a good programmer and it was meant more as informative about how systems interact but they then spent the next two weeks looking for solutions.
Bah, amateurs. I used Minix before Linux even existed...Unix hackers write C code with cat>
Unix gurus write assembly code with cat>
Unix wizards write device drivers with cat>
The complete hierarchy: https://www.levenez.com/unix/guru.html
pibbuR who assumed this also applies to linux and refuses to disclose his level.
What about assembly coders who wrote code with type because cat didn't exist yet ?Unix hackers write C code with cat>
Unix gurus write assembly code with cat>
Unix wizards write device drivers with cat>
The complete hierarchy: https://www.levenez.com/unix/guru.html
pibbuR who assumed this also applies to linux and refuses to disclose his level.
He didn't say linux he said UNIX which predates MinixBah, amateurs. I used Minix before Linux even existed...
There is no reason to argue about vi vs emacs; vim beats them bothPS: Talking about the Rust vs C issues,
Linus: It reminds me of when I was young and people were arguing about vi versus Emacs
Hohndel: They still are!