|
Just a friendly Hi! this Wednesday with hopes all your code compiles without error or even a warning today.
|
|
|
|
|
Quote: all your code compiles without error or even a warning today Yep, thank you!
-- Segmentation Fault
|
|
|
|
|
CPallini wrote: Yep, thank you!
What a disappointment...
I was somehow expecting something in the line of:
Errors are good to develope character.
Klingon programmers don't have errors. They don't compile, they write directly in machine code.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Klingon developers are utterly unpredictable.
|
|
|
|
|
Quote: Klingon programmers don't have errors. They don't compile, they write directly in machine code. They were clearly trained by Chuck Norris!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Ron Anders wrote: all your code compiles without error or even a warning
A sure sign that there's something seriously wrong somewhere.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Different kinda day, but everything worked out well in the end, so I'm happy.
My code never gives me warnings!*
* But only because I have "Treat warnings as errors" set by default...
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I created a "Hello World" C++ console application targeting the Linux platform. It remotely compiled and debugged the code smoothly.
Being an old dog, I am impressed.
|
|
|
|
|
CPallini wrote: Being an old dog, I am impressed.
It's supposed to be able to. You're impressed it...does?
(No need to explain...I know exactly where you're coming from)
|
|
|
|
|
Not to get all meta here, but ... and your point is?
Software Zen: delete this;
|
|
|
|
|
The point is, if VS is supposed to be able to do something, and it does, why should anyone be impressed? Are expectations so low?
|
|
|
|
|
My group still uses VS2008 as our primary development tool. I would like to update to VS2017, or possibly VS2019. A change like that would require full regression testing at all levels in a code base somewhere around 3 million lines of C# and C++. That kind of test, even with parts of it performed in parallel to the upgrade process, would add weeks if not months to our schedule.
I'll freely admit that the volume of complaints of crashes and other bad behavior as compared to the lukewarm descriptions of new and enhanced features do not inspire me to push my PHB's to have us upgrade.dandy72 wrote: Are expectations so low? In two words, yes.
Software Zen: delete this;
|
|
|
|
|
Until you get a confirmed (reported and acknowledged) c++ compiler bug.
We reverted back to vs2017 until the bug is fixed.
I'd rather be phishing!
|
|
|
|
|
Well, g++ is reliable.
|
|
|
|
|
Remember the turbo c days?
|
|
|
|
|
Yes, I can remember those days!
|
|
|
|
|
I refuse to believe you were coding from your mother's womb, Carlo. You may run marathons, but you're not that hard-core.
Software Zen: delete this;
|
|
|
|
|
Tell that to the little child Rajesh!
|
|
|
|
|
Fair enough.
|
|
|
|
|
Actually I do, although I was a Turbo Pascal man myself for at least one project. For C I used Microsoft QuickC, Microsoft C 6.0, and ultimately Watcom C.
Software Zen: delete this;
|
|
|
|
|
I know this is a very special case but still i ran headlong into it.
The easiest way to implement a B+ tree on disk is using a memory mapped file. I think this is what SQL Server does, but don't quote me.
However, the only way you can access memory mapped files in C# is through .NET interop which makes it useless.
Because one of the points of a memory mapped file is that you can do memory allocations that are backed by disk.
There's no way in hell .NET can give you that in its current incarnation, even if one were to write a custom host, because of the way a GC system works.
What I'd like
var foo = new int[1000000]; // backed by disk, paged automatically
What I'd have to do.
somepointer = VirtualAlloc(...)
Write(somepointer, data)
etc
etc
basically it works like file i/o which defeats essentially the whole purpose.
=(
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
C++/CLI
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
yeah but, i really want to do this in all managed code. There's plenty of C++ code to do disk based B+ trees.
plus i think those only run on windoze
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
|
it's mixed mode, as I understand it. Managed *and* unmanaged in the same PE. So it's not simply a .NET assembly but an assembly with a bag on the side of unmanaged code. I'm certain this was true when it was introduced. It probably still is.
also i think there's still marshalling going on with managed->unmanaged calls in C++/CLI
it might be more efficient than the standard marshalling though, but it's still marshalling.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|