|
So, I read this article: Easily navigate code delegates while debugging - Visual Studio Blog[^]
and I am so glad, I just don't give a flying f*** anymore. I started doing serious Windows development in 2003. I inherited a project that used ActiveX controls. Just local, no downloads - all embedded system work. I have to plow through the changing terminology of COM, DCOM, COM++, ActiveX, etc. After 3 years, I declared it utter bull****. MS renaming things just to rename things for marketing purposes.
So, I read this devblog article, and though delegates are somewhat different than function pointers, its the same old bs from Microsoft renaming stuff. Worse, I suspect it made it into the C++ standard. I don't know about that, nor do I care.
Starting next week, I'm moving to linux.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
charlieg wrote: So, I read this devblog article, and though delegates are somewhat different than function pointers, its the same old bs from Microsoft renaming stuff. That's the difference between a senior and a junior dev. Juniors think they discovered fire half the time, but most things are rehash and rebranded with a tiny bit of newness. But, it's really the same ol' thing with a new bell and whistle.
I still use the example of XML and SGML. While XML was more strict with its DTDs, the concept of XML or a DTD was nothing new. About 10+ years ago during the XML craze, you'd hear a lot of peeps swear they discovered fire with it... even though SGML has been around for years prior. Just rehashed stuff with a bit of umph added.
charlieg wrote: Starting next week, I'm moving to linux. You'll love it man. I've only done C and web dev on Linux, but the c lib at least has a surprising amount of functionality to it. A Linux box really does make a great dev box.
Jeremy Falcon
|
|
|
|
|
I think you're not noticing that managed code, to the extent of .NET and maybe Java, (I don't know much about Java except that I hate eclipse,) was revolutionary. It dumbed down programming on a scale even greater than the effect Visual Basic had on Windows application programming.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Not sure how you can draw that conclusion based off an SGML example. While I do concur the "rise" of XML and .NET were around the same time, that example stands independent of .NET, so I'm not sure what I failed to notice given the concept has nothing to do with managed code in and of itself and more to do with junior programmers of any generation knowing little of the past.
Jeremy Falcon
|
|
|
|
|
I just wanted to say that. Nothing personal.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Fair enough.
Jeremy Falcon
|
|
|
|
|
Oh, and IMO it's a bit easier to do multithreaded work in C on Linux than Windows.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: Oh, and IMO it's a bit easier to do multithreaded work in C on Linux than Windows. I love thread handling in C#. I can go high level and just let the framework do what it thinks it's best, or I can go low level and take complete control. And threads (aka async tasks) with awaits, while it can be a bit of a hurdle to sometimes realize what I did wrong and to how to break the chain of, oh, this method is now async, so the parent has to be async, oh wait, the grandparent now has to be async..., yeah, how to do deal with that takes some finesse, but I still love how C# implements the whole mess.
|
|
|
|
|
I do have to admit man, while I've done very, very, very little multi-threading in C#, from what I've seen it does make it nice. More recent versions of C++ do as well.
Jeremy Falcon
|
|
|
|
|
They keep adding layers of lipstick, but it's still a pig!
A home without books is a body without soul. Marcus Tullius Cicero
PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
Surely you don't think of computers as pigs, do you?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I admit to having never developed anything in C# or anything else managed. I admit that the .net ecosystem is nice, but I just wish Microsoft would stop renaming stuff to make it look new. That was the gist of my rant.
I've done a good bit of Unix development in the past - device drivers, graphics subsystems, applications, likely a few years before Linux became a twinkle in someone's eye. Tinkering, it's a bit of a shock to step back into that environment - much closer to the base system. I'm looking forward to relearning make files .
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
To be honest, I'm floating the idea of switching to Linux for personal use. I make my living with Microsoft technologies, but for personal use, I'm considering what would be involved in switching.
I'll be interested to see how you make out.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
But backwards it's even more stupid.
Yeah I'll get my coat...
|
|
|
|
|
I been click-baited!! Help, I been trolled!
Why did I click that? Why? ![Laugh | :laugh:](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_laugh.gif)
|
|
|
|
|
And so fast too
|
|
|
|
|
I like to keep my reaction-time extremely fast.
I've accidentally bought dozens of products I don't even want because they were on sale.
And, I've also released numerous viruses (virii?) onto my computer because of this, but I just keep coming back for more. ![Roll eyes | :rolleyes:](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_rolleyes.gif)
|
|
|
|
|
There are certain things that are not appropriate in 192KB of SRAM.
Garbage collection is one of them.
There are certain things that are not appropriate on an 80MHz CPU.
Running an interpreter is one of them.
So why in the world is MicroPython so popular?
It's ridiculously slow, and just recently I've been trying diagnose what looks like (but can't be?) a heap frag issue in some MP firmware.
You can also write poor C and C++ code, of course. But the difference is you can also write *good* C and C++ code.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Worse - non thread safe memory allocation that c++ does at a whim. That drove us crazy for months until we figured out what was going on.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
I don't even use the STL on embedded, mostly because I've run into incomplete and/or non-compliant implementations and I don't want to keep track of which platforms I need to fork for. Secondarily, the way it uses the heap is shameful out of the box. Utterly irresponsible unless you have gobs of RAM to where heap frag is never an issue, so you're usually stuck creating your own custom allocators and your own management scheme, but aside from that, many devices have multiple heaps with different sizes and performance characteristics, and getting The STL to handle that gracefully is just more trouble than it's worth, IMO.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
The shop I'm leaving cannot spell STL. There were hopes, but design went into a different direction. All of the base code is written in pure C, the HMI - when one is needed is all JavaScript gobbly gook. Company just got fed up with MS bullshit.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
Yeah. As far as I can tell Microsoft didn't truly straighten out their C++ compiler until VS 2022. That's when my standards compliant code started compiling for it, and it wasn't even using the STL, though it makes heavy use of templates.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I guarantee this is work safe:
(This explains the way I see Codewitch.)
Google Images[^]
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Do you like it? I despise it, but it's growing on me. Was this supposed to reduce eye strain or something?
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
I love it. I am extremely sensitive to light, and I find it helps me get through a full work-day without a tension headache around my eyes. Note that I run my "blue-light mode" 100% of the time to also reduce brightness and mellow the colors.
Theory is it reduces eye strain, but I think that depends on how well designed the color scheme is. I've seen some dark modes that aren't customizable that make my eyes hurt worse than light mode due to poor color choices that make it tough to pick up details.
Be wary of strong drink. It can make you shoot at tax collectors - and miss.
Lazarus Long, "Time Enough For Love" by Robert A. Heinlein
|
|
|
|