|
What a weird article.
"C++ doesn't do this, so we'll use C# which doesn't do it either, let's pat ourselves on the back."
|
|
|
|
|
Did you actually bother to read the entire article or quit after the first few paragraphs feeling smug? Because the full takeaway is that by using a subset of C# - primarily structs for everything - and by tapping into the Rosalyn compiler's interop points they can write C++ equivalent performance code, get compile time errors if it doesn't vectorize, or even look at the final output asm as they code. Other than using a different set of collections than we're used to and avoiding LINQ the C# looks like normal code and is no less readable than normal. Contrasting that, in order to bludgeon all the various C++ compilers into vectorizing everything that should be vectorized the matching code from the C++ version of that sample was 4x as long.
The article also briefly mentioned other crazy things they've been doing via C#. The one I'm most intrigued by, and am interested in learning more about are the threadsafe workers that enforce Worker A making a potentially unsafe access to a data buffer currently being used by Worker B an immediate on the spot run time error, instead of a memory corruption bug that only occurs when when the race condition hits a pernicious state and which might not trigger an crash/etc until much later at which point it becomes a nightmare to track down. If that's something that could be used outside of Unity as a whole, it's something that I could see being useful on a much wider scale.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Being smugly called smug is a treat.
Yeah, the snark was a little heavy, but the article was still weird and by weird I mean not well written. Compilers (C++ or otherwise) have been able to do vector optimization for a while, so why bring them up the way that they do? There is a valid unstated criticism that many current compilers do a poor job in vectorization, something which mystifies me since years ago I used a compiler which did (without making any code 4x as long.)
(Unfortunately, the morning I was doing the final compile to see how the optimization scaled, the company severely downsized, including me, and project was canceled.)
|
|
|
|
|
Coconut is a functional programming language that compiles to Python. Since all valid Python is valid Coconut, using Coconut will only extend and enhance what you're already capable of in Python. Why is there no lime in the coconut?
I say, "Doctor!"
|
|
|
|
|
|
Kent Sharkey wrote: Why is there no lime in the coconut? Forgotten already?
You obviously need the Linux memory extractor.
(Oh, and don't forget to provide links to songs[^], or Sander gets ratty)
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Microsoft Research is looking to provide users with access to their own 'personal data bank' via its 'Project Bali' effort. Here's what we know about Bali so far. Due to be hacked any minute now
|
|
|
|
|
Here's a novel idea: just stop collecting the data. Then projects like this are unnecessary, and your MBAs and engineers can focus on creating products that make a positive difference in the world.
|
|
|
|
|
David O'Neil wrote: Here's a novel idea: just stop collecting the data. What's it like living in that happy, merry land you live in?
TTFN - Kent
|
|
|
|
|
We need more people here!
|
|
|
|
|
David O'Neil wrote: your MBAs and engineers can focus on creating products that make a positive difference in the world new icons. Best not to expect the world to become perfect in a single step.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I say look on the bright side, they're actually testing something!
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
jeron1 wrote: they're actually testing something! My patience, for one.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Is it just me or does this smell of extortion.
ZDnet: So I'd think Bali has a good chance of becoming a commercially available entity at some point.
Your data is collected without your knowledge (stolen) and now you have to pay in order to get it back and delete it.
When you are dead, you won't even know that you are dead. It's a pain only felt by others.
Same thing when you are stupid.
modified 19-Nov-21 21:01pm.
|
|
|
|
|
Donathan.Hutchings wrote: Your data is collected without your knowledge (stolen) and now you have to pay in order to get it back and delete it. Oh, it gets better.
It looks like you will only be able to control a copy of the data, stored under your private namespace (that's like a literal namespace).
Their stolen data won't be affected.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Moreover, the issue arises only under certain conditions, when the built-in Administrator account is active, and there are other accounts on the machine which also have Administrator permissions. Well, of course it does
|
|
|
|
|
Nothing new to see, here. Move along, now.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
There are dozens of new sprites, backgrounds, and sounds for you to play with. The brand new extension library lets you add new sets of blocks that connect to hardware and software services and do even more with Scratch. In case you've got the itch
Actually, a great tool to get kids (and others) understanding some programming concepts (IMO).
|
|
|
|
|
So you use it with commands like "down a bit! Left a bit!", and such?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
The cryptocurrency is going on an energy diet to compete with more efficient blockchains Reducing it from 'absurd' to 'cockamamie'
|
|
|
|
|
That's probably because the only people using it are the miners.
You've got to look after your core users.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I still wonder if Ethereum's smart contracts could be used to distribute a virus.
|
|
|
|
|
For a few minutes I was actually hopeful that a major ponzi-coin was going to move away from using proof of pollution. Then I read the rest of the article, apparently stopping polluting within their existing platform was too hard; so they're going to create a new ponzi-coin without it instead and are hoping all their users will switch over. Based on the historical track record of ponzicoin splits though, I suspect both versions will remain around meaning that etherium v1 will continue to be an environmental disaster for years to come.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
It describes a social condition many of us feel, but chances are you’ve never heard of the term that’s just been crowned Word of the Year. Is this what we've become as a species?
|
|
|
|
|
This doesn't surprise me.
My nomination was for the word "d1ckhead", but the non-standard spelling that I had to use on the form was obviously a problem, so they went for a synonym.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|