|
-
Dec 12th, 2001, 03:19 PM
#1
WOW! TNT. check this out.
http://math.nist.gov/tnt/
Thanks to Corned Bee who got me mad enough to start looking for iso/ansi C++ specs on the net - free of course.
-
Dec 12th, 2001, 04:14 PM
#2
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 12th, 2001, 06:12 PM
#3
PowerPoster
LOL, not what i was expecting
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Dec 12th, 2001, 09:23 PM
#4
transcendental analytic
yuck #ifdef macros everywhere I'd have done it with templates
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 12th, 2001, 09:30 PM
#5
PowerPoster
yeah, but thats because you are the template god.
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Dec 12th, 2001, 10:42 PM
#6
transcendental analytic
well I am
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 13th, 2001, 06:50 AM
#7
Kedaman - you don't get it.
#ifdef reduces code size. It's a great way to optimize code.
If something isn't compiled, it isn't in there taking up space for no reason.
On the other hand it is not elegant. Elegance and fast, efficient code are not synonomous. Look at CornedBee's Fibonacci recursion code. Elegant and crashes the system on calculating the 48th fib number, to take an extreme example.
-
Dec 13th, 2001, 08:01 AM
#8
Monday Morning Lunatic
You should see what Kedaman's working on at the moment. It's a neat method of getting both at the same time.
You have your types wrapped up into classes, so that you can't mix constants, for example. But it all gets inlined by the compiler in the same way 
Pity MSVC can't go all the way on it though
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 13th, 2001, 08:18 AM
#9
transcendental analytic
Bork it! I founded a new paradigm just last weekend i'm still search around the net to see if someone hasn't done something similar yet, but it's kinda hard when you don't know what to look for
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 13th, 2001, 11:45 AM
#10
keda: they probably want it to work with MSVC++
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 13th, 2001, 11:46 AM
#11
Monday Morning Lunatic
Originally posted by CornedBee
keda: they probably want it to work with MSVC++
Actually, most of what ked wants seems to be working on VC7b1 - so it might be better on the new beta 3.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 13th, 2001, 12:01 PM
#12
transcendental analytic
Well, actually you haven't seen anything of my newest work parksie you'll be surprised what all you can do, but what i'm really annoyed with now is the lack of partial specialisations of the templates
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 13th, 2001, 12:04 PM
#13
Monday Morning Lunatic
That should be solved by GCC3...see your other thread.
Despite it needing to be run under Cygwin, I think it produces native executables (i.e. the programs you write don't need it).
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|