a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by temple
temple  ·  4353 days ago  ·  link  ·    ·  parent  ·  post: The Unreasonable Effectiveness of C

The main problem I have with C is there isn't STL and Boost. Templates and generic programming are pretty darn useful.

That said, I write a lot of C-like code in C+ + . (How does one escape two + in a row in Hubski markup?)





Wintermute  ·  4353 days ago  ·  link  ·  

I'm guessing backslashes? Test: \\

Edit: Nope...

  I guess the only way is by making the whole line verbatim? ++
Not a great solution though, maybe mk can help us out?
mk  ·  4352 days ago  ·  link  ·  

Yes. Some markup adjustments are in order. I'll get an escape \ in there soon.

monevo  ·  4352 days ago  ·  link  ·  

no escapes, 'strings are better and more reliable'

need a string in the string? '' will yield a string

sphericalvoxel  ·  4351 days ago  ·  link  ·  

I think, more generally, C makes a poor research language. But then, now that I've been bitten by the Python bug, it's hard to imagine how painful it must've been to write discrete event simulations in Cplusplus.

whanhee  ·  3485 days ago  ·  link  ·  
This comment has been deleted.
monevo  ·  4352 days ago  ·  link  ·  

i find it lovely when i need to compile boost, its almost like its made for you to not compile it or anything that uses it, use a source based distribution and you'll be as angry as me

sphericalvoxel  ·  4351 days ago  ·  link  ·  

The longest emerge I've had on Gentoo, besides possibly the hundred-or-so dependencies of X, was actually pypy. I have Boost installed, but I can't honestly remember emerging it, which is to say, it had to have been painless.

monevo  ·  4348 days ago  ·  link  ·  

quite frankly xorg was painless to install, however i keep it as lean as possible, Ill get back to you on this.

Haven't compiled pypy but the longest i've gotten is firefox which i gave up on because after a couple of hours it maxed out the swap! should've paid attention to the notice of "you cant compile on anything with less than 1gb ram"