digitalmars.D.announce - Curious compile-time perversions: Raytracing
- Tom S (5/5) Aug 26 2006 What do you get when you combine 3d graphics with lots of templates ?
- kris (2/10) Aug 26 2006 You're a maniac, Tom. A totally cool maniac ;)
- John Reimer (3/9) Aug 26 2006 seconded ;D
- Lutger (5/13) Aug 26 2006 Just awesome!
- Tom S (2/7) Aug 26 2006 it's mirrored at http://www-users.mat.uni.torun.pl/~h3r3tic/bind.rar
- Jarrett Billingsley (4/7) Aug 26 2006 Well.. I think you're certainly giving Don a run for his money, if not f...
-
Don Clugston
(3/13)
Aug 27 2006
I agree
. That's more insane than anything I've come up with. Well - Ivan Senji (3/8) Aug 27 2006 What can I say except wow! This is totally crazy (in a good way)
- Dawid =?UTF-8?B?Q2nEmcW8YXJraWV3aWN6?= (2/6) Aug 27 2006 Wow. Wymiatasz.
- Chris Nicholson-Sauls (4/12) Aug 27 2006 You scare me. But in a highly admirable way. :) This belongs in a hal...
- pragma (6/14) Aug 27 2006 OMG.
- Craig Black (3/3) Aug 28 2006 Perhaps this compile-time ray tracer could be used by Walter as a benchm...
- Derek Parnell (8/12) Aug 28 2006 Is this a compiler and an interpreter now? ;-)
- Ivan Senji (3/11) Aug 28 2006 That is exactly what I was thinking. The wonderful thing is that Tom's
- Tom S (8/9) Aug 28 2006 Thanks for the feedback everyone ! I thought I'd be trout-slapped for
- Don Clugston (7/20) Aug 28 2006 Yeah, it's an interesting language in itself. It seems to be a fairly
- James Dunne (12/15) Aug 28 2006 Not so fast...
- Walter Bright (2/3) Aug 29 2006 No, it's a compiler *and* a dessert topping!
- Kyle Furlong (9/13) Aug 29 2006 It always surprises me how funny you can be. I have this idea of a
- Max Samuha (3/6) Aug 28 2006 Tom, that's really impressive!
- =?iso-8859-1?q?Knud_S=F8rensen?= (6/7) Aug 28 2006 Nice job.
- Walter Bright (2/5) Aug 30 2006 Feel free to!
- Walter Bright (4/8) Aug 29 2006 I had to put a link to that on
- BCS (3/15) Aug 29 2006 fixed link:
- BCS (2/20) Aug 29 2006 http://www.digitalmars.com/d/templates-revisited.html
- Walter Bright (2/4) Aug 29 2006 You're right. Thanks.
- Kyle Furlong (6/11) Aug 30 2006 I took the liberty of posting it. Do a search for Ctrace and DIGG DIGG
- Kyle Furlong (6/11) Aug 30 2006 Here's the link:
- Kristian (3/8) Aug 30 2006 ........ !!! (<- meaning that I'm absolutely speechless!)
What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/ -- Tomasz Stachowiak
Aug 26 2006
Tom S wrote:What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/ -- Tomasz StachowiakYou're a maniac, Tom. A totally cool maniac ;)
Aug 26 2006
On Sat, 26 Aug 2006 17:02:22 -0700, kris <foo bar.com> wrote:Tom S wrote:seconded ;D -JJRWhat do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/ -- Tomasz StachowiakYou're a maniac, Tom. A totally cool maniac ;)
Aug 26 2006
Just awesome! [OT] Speaking about which, the link to your bind library is currently down. I'm using it and it serves me well, perhaps it should be up for people to benefit? Tom S wrote:What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/ -- Tomasz Stachowiak
Aug 26 2006
Lutger wrote:Just awesome! [OT] Speaking about which, the link to your bind library is currently down. I'm using it and it serves me well, perhaps it should be up for people to benefit?it's mirrored at http://www-users.mat.uni.torun.pl/~h3r3tic/bind.rar
Aug 26 2006
"Tom S" <h3r3tic remove.mat.uni.torun.pl> wrote in message news:ecqlq8$1ieo$1 digitaldaemon.com...What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/Well.. I think you're certainly giving Don a run for his money, if not for template complexity then for sheer ingenuity. I am.. speechless. :)
Aug 26 2006
Jarrett Billingsley wrote:"Tom S" <h3r3tic remove.mat.uni.torun.pl> wrote in message news:ecqlq8$1ieo$1 digitaldaemon.com...I agree <g>. That's more insane than anything I've come up with. Well done. It really makes the C++ boost metaprogramming look pathetic.What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/Well.. I think you're certainly giving Don a run for his money, if not for template complexity then for sheer ingenuity. I am.. speechless. :)
Aug 27 2006
Tom S wrote:What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/What can I say except wow! This is totally crazy (in a good way) :-)
Aug 27 2006
Tom S wrote:What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/Wow. Wymiatasz.
Aug 27 2006
Tom S wrote:What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/ -- Tomasz StachowiakYou scare me. But in a highly admirable way. :) This belongs in a hall of fame, if we ever get one. -- Chris Nicholson-Sauls
Aug 27 2006
Tom S wrote:What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/ -- Tomasz StachowiakOMG. ::stunned expression:: Well, if this doesn't put D's template system on top, then I don't know what will. Well done!
Aug 27 2006
Perhaps this compile-time ray tracer could be used by Walter as a benchmark to improve compiler performance. -Craig
Aug 28 2006
On Sun, 27 Aug 2006 00:34:31 +0100, Tom S wrote:What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/Is this a compiler and an interpreter now? ;-) -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocrity!" 28/08/2006 5:04:02 PM
Aug 28 2006
Derek Parnell wrote:On Sun, 27 Aug 2006 00:34:31 +0100, Tom S wrote:That is exactly what I was thinking. The wonderful thing is that Tom's code is actually readable and it isn't hard to understand it.What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/Is this a compiler and an interpreter now? ;-)
Aug 28 2006
Thanks for the feedback everyone ! I thought I'd be trout-slapped for doing terrible things to the compiler ;) Derek Parnell wrote:Is this a compiler and an interpreter now? ;-)Funnily, programming in such a way really feels like coding in a dynamic language - I can dynamically introduce variables around, define covariant types without inheriting anything and alias stuff around as needed. If it wasn't for the memory requirements, meta-D could be considered a scripting language ;)
Aug 28 2006
Tom S wrote:Thanks for the feedback everyone ! I thought I'd be trout-slapped for doing terrible things to the compiler ;) Derek Parnell wrote:Yeah, it's an interesting language in itself. It seems to be a fairly pure functional language with some unusual twists. And with alias template parameters, it's had lazy evaluation for a long time <g>. The thing I've found amazing is that string processing in meta-D is no more difficult than in many other languages I've used, thanks to D's superb array handling.Is this a compiler and an interpreter now? ;-)Funnily, programming in such a way really feels like coding in a dynamic language - I can dynamically introduce variables around, define covariant types without inheriting anything and alias stuff around as needed. If it wasn't for the memory requirements, meta-D could be considered a scripting language ;)
Aug 28 2006
Tom S wrote:Thanks for the feedback everyone ! I thought I'd be trout-slapped for doing terrible things to the compiler ;)Not so fast... *slaps with trout* Seriously though, you're sick. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/MU/S d-pu s:+ a-->? C++++$ UL+++ P--- L+++ !E W-- N++ o? K? w--- O M-- V? PS PE Y+ PGP- t+ 5 X+ !R tv-->!tv b- DI++(+) D++ G e++>e h>--->++ r+++ y+++ ------END GEEK CODE BLOCK------ James Dunne
Aug 28 2006
Derek Parnell wrote:Is this a compiler and an interpreter now? ;-)No, it's a compiler *and* a dessert topping!
Aug 29 2006
Walter Bright wrote:Derek Parnell wrote:It always surprises me how funny you can be. I have this idea of a wizened hacker hermit, up on a mountain top, conceiving great things in the dark of night. I suppose if we ever met, I would be pleasantly surprised. :-D /me goes back to lurking -- Kyle Furlong // Physics Undergrad, UCSB "D is going wherever the D community wants it to go." - Walter BrightIs this a compiler and an interpreter now? ;-)No, it's a compiler *and* a dessert topping!
Aug 29 2006
On Sun, 27 Aug 2006 00:34:31 +0100, Tom S <h3r3tic remove.mat.uni.torun.pl> wrote:What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/Tom, that's really impressive!
Aug 28 2006
Nice job. Have anybody posted this on digg ?? I am just wondering when we will start see things like compiler time madelbrot on http://shootout.alioth.debian.org/ On Sun, 27 Aug 2006 00:34:31 +0100, Tom S wrote:mat
Aug 28 2006
Knud Sørensen wrote:Nice job. Have anybody posted this on digg ??Feel free to!
Aug 30 2006
Tom S wrote:What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/I had to put a link to that on http://www.digitalmars.com/d/templates-revisted.com Thanks!
Aug 29 2006
Walter Bright wrote:Tom S wrote:fixed link: http://www.digitalmars.com/d/templates-revisted.htmlWhat do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/I had to put a link to that on http://www.digitalmars.com/d/templates-revisted.com Thanks!
Aug 29 2006
BCS wrote:Walter Bright wrote:http://www.digitalmars.com/d/templates-revisited.htmlTom S wrote:fixed link (for real this time):What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/I had to put a link to that on http://www.digitalmars.com/d/templates-revisted.com Thanks!
Aug 29 2006
BCS wrote:You're right. Thanks.fixed link (for real this time):http://www.digitalmars.com/d/templates-revisited.html
Aug 29 2006
Walter Bright wrote:BCS wrote:I took the liberty of posting it. Do a search for Ctrace and DIGG DIGG DIGG!. -- Kyle Furlong // Physics Undergrad, UCSB "D is going wherever the D community wants it to go." - Walter BrightYou're right. Thanks.fixed link (for real this time):http://www.digitalmars.com/d/templates-revisited.html
Aug 30 2006
Walter Bright wrote:BCS wrote:Here's the link: http://digg.com/programming/Ctrace_A_compile_time_raytracer_in_D -- Kyle Furlong // Physics Undergrad, UCSB "D is going wherever the D community wants it to go." - Walter BrightYou're right. Thanks.fixed link (for real this time):http://www.digitalmars.com/d/templates-revisited.html
Aug 30 2006
On Sun, 27 Aug 2006 02:34:31 +0300, Tom S <h3r3tic remove.mat.uni.torun.pl> wrote:What do you get when you combine 3d graphics with lots of templates ? Here's one possible answer: http://www-users.mat.uni.torun.pl/~h3r3tic/ctrace/ -- Tomasz Stachowiak........ !!! (<- meaning that I'm absolutely speechless!)
Aug 30 2006