Comment Re:Not me (Score 1) 177
Agreed. In addition, since I have fairly addictive personality and enough addictions already
Agreed. In addition, since I have fairly addictive personality and enough addictions already
Porting libdispatch requires a generic event delivery framework, where the userspace process can wait for a variety of different types of event (signals, I/O, timers).
I don't understand this. It's true Linux does not have kqueue. (as I recall Linus thought it was "ugly"
Would you please point out the flaws w/the above that make it impossible or impractical to achieve the functionality needed by Grand Dispatch? I would be enlightened -- thanks in advance.
I did run iBCS, and while it seemed to work well for what it did, it is not a panacea for everything.
For example, anything that was dynamically linked would still have dependencies on the original system libraries. So you get to copy all those over, worry about licensing issues (if you're trying to redistribute, anyway), and hope something didn't break on the way. In my experience, a c++ widget-generating app we were trying to run encountered both of those roadblocks, and we determined it was better to go another route -- java, hah!
You can lend friends money. Just not money you would mind losing. It's like gambling basically.
Side note: I once loaned a small amount of money to an annoying "friend" who then apparently fell off the face of the earth. It was worth the money. Although I suppose I could have achieved the same effect by just being a d*ck about his sob story, but that eats at your conscience a little more.
Though I imagine the problem for larger computations could be that you're limited to writing functional-style code, at which point you might be better off using a language designed for it?
Point taken, assuming it has to be fast and there is that much critical code.
What optimizations does gcc actually do on pure functions, having identified them?
Well, it doesn't dispatch them
The first time I saw the "brain" scene
I was eating vermicelli at a Vietnamese restaurant, with a bunch of kids running around the tables, and Hannibal was playing (muted) on their big screen TV.
they have no mutable variables in the usual sense
I think the key word here is "might".
Nothing prevents a C compiler from figuring out "int foo(int a) { return a + 2; }" is pure. In fact gcc can do this to some extent; the relevant compiler flag (enabled by default w/optimization) is "-fipa-pure-const".
gcc also lets you specify the attribute 'const' to declare that a function is pure (in the sense that we're using it here).
Sure, it's coarse, and an afterthought, but it's also flexible.
Well, maybe both.
Yes I probably wouldn't enjoy being on a site that went on and on about "Windows Rocks/Linux Sucks" (as much as this site does the reverse, anyway).
But that kind of rhetoric is not really why I read this site. As an example, I found the (apparently) 1st-person accounts about air traffic and ATC procedures yesterday to be one of the most informative and entertaining bits I've read in awhile.
Slashdot has (more than?) its fair share of trolls, and troll articles, but there is (sometimes) a depth here that I haven't really found anywhere else yet; and that includes your local newspaper.
ClearCase also supported the typical 'check your workspace ("view"?) out to a local place on your hard drive, rebase it occasionally, make your changes, and check it in' model, and that seemed to work fine.
And yes we had a full-time administrator for the system. Would've been suicide not to.
I mean, the reward for waiting actually needs to be worth something.
"Protozoa are small, and bacteria are small, but viruses are smaller than the both put together."