The idea is that you write a minimal functional program that involves multiple layers of code. This way you get a feel of how it is connecting and whether it's gonna work or not.
So a "tracer bullet" would be a Lua script that generates a UI using my code through the API bindings.
How do you make function foo() run for only a period of time? I think threads is the most common way of impementation.
How do I use bind and timed_join ??
@StackedCrooked My developer didn't have that functionality readily available in his language and no FFI for languages which did. So, no soap for me. :(
@DeadMG I actually think about a world where I rid the world of the PHP plague with a new language whose core was implemented in modern C++ and everybody accepted it and dealt with the fact it is time to move on to better things. But then I think about reality for a sec, I'd just get a pat on the back and a "nice try". And then I get depressed.
Rewriting the PHP core in C++, reworking all of its mistakes from the ground up, holding onto its obnoxious simplicity that people "appreciate"? Nah, couldn't bear it holding the name PHP after all that work. It would be an another language.
@DomagojPandža - char* are 'actual C++'. I even stated I wanted to strafe away from strings in this particular section of code. I didn't say I wasn't using string anywhere else. — Di-0xide4 mins ago
Some people simply don't understand the point of it all.
He strafes away on one piece of code and ends up asking a question about access violation in that particular piece of code.
And then asks what's the problem with naked pointers and c-style strings.
Oh, @DeadMG, he left you some text as well. Lucky you. Ahahah.
The unfortunate thing is, given enough time, I could outdo PHP (well, that's not really an impressive statement even, it was called a tool for editing your Personal HomePage). But people adopting it, hardly.
And written by a guy who admits himself that he hates programming.
Tool programmer. Although as an intern, I had pretty well defined tasks.
Mostly, I worked on a tool that monitored the build server and, when someone broke the build, would cause an icon in everybody's taskbar to turn red, and clicking on it would show a popup displaying the name of the one who broke it.
@DomagojPandža Yeah. And then, if you broke the build, a window would pop in your face ("always on top") and tell you you broke it.
Best thing is that the tool is still in use in several teams there.
One of my friends did an internship there last summer, and he told me that in his team, they had some sort of disgusting "totem" that landed on your desk if you broke the build.
Once, he broke the build, and as soon as he saw the popup he knew he was screwed, and sure enough, a guy was dumping the totem on his desk at the exact second the build turned red.
They're too busy changing the overall look of VS, which was perfectly fine in VS2010.
You know, Microsoft is incredibly varied. On one end, you got .NET, which is quite well designed, and on the other end, you got VS, which is a piece of inadequate crap.
Just a lot of SIMD, shuffling, some custom memory management, fighting alignment issues, aligning data in a way they hit the cache lines and trying to avoid unnecessary loadhitstores. And, oh yeah, math. Also, it is fun to linearize partitioning trees.
But I have a hard on for pretty code, so I try to sexify it. Trailing return types help a lot with overall sex appeal consistency.
And comments, just for remaining sane.
When you've got that down, all that remains is the math and the physics. :Đ
Optics, light propagation and all that fine stuff is mine, internally. But I don't know whether we even need a more developed physical engine. We can simply emulate some of the cute details we want, like inertia, a small falloff factor etc.
The most important thing is that I manage to generate a sexy interface to the low-level depths others can reference. Nobody needs to know what goes on "at the end of the tunnel", as long as they see the light.