00:56:17 -!- pgimeno has quit (Read error: 104 (Connection reset by peer)). 01:10:25 -!- pgimeno has joined. 03:03:02 -!- GregorR has quit (Remote closed the connection). 03:24:09 -!- GregorR has joined. 04:12:19 I've written a large chunk of a header for C++ that, through setting a bunch of macros et cetera, makes C++ act very much like Java :P 04:12:39 Garbage collection, everything is derived from Object, pass-by-reference, ... 04:12:55 Type safety ... 04:22:43 -!- Arrogant has joined. 04:27:00 is it fast? 04:28:16 hmm, garbage collection with pointers.. interesting concept 04:44:12 #include 04:47:19 Is it fast? Idonno, but I didn't do anything particularly complicated, and IIRC Boehm GC is faster than Sun-Java GC in some test. 04:47:31 (Probably skewed by the language) 04:48:41 how about being able to return local variables.. guessing no :) 04:49:34 Depends on how you made them. 04:49:39 Actually, no it doesn't. 04:49:41 You always can. 04:50:05 It'd call the copy constructor and the reference count would up. 04:50:07 btw if it's fast then it isn't very much like java :( 04:50:10 So no reason why it wouldn't work. 04:50:11 lol 04:50:23 I'm thinking of swapping out Boehm GC for simple reference counting. 04:50:41 I implemented it such that all objects are derived from Object, so I could implement reference counting in Object. 04:50:51 (Transparently of course) 04:52:17 remember that lang you were going to make a while back? 04:52:34 I don't recall ever saying I was actually going to make it ;) 04:52:41 maybe now you can compile to c++ 04:52:42 Just looking into what I thought would be nice. 04:52:50 Hmmn 04:53:08 Well, right now spanishcoffee.h is somewhere between a proof of concept and a joke. 04:53:23 never heard of that 04:53:37 Erm, sorry, that's the name for my C++->Javaish header. 04:53:45 Spanish Coffee is coffee with rum. 04:54:09 I suppose you should be more likely to know that than me :P 04:54:28 nope.. why would i? 04:54:35 Well, just more likely, since I'm under 21 :P 04:54:45 never even drank coffee before 04:54:57 And I've never drank rum ;) 04:55:02 never have I :) 04:55:07 err neither 04:55:07 Heh 04:55:22 Anyway, it's a big ugly hack and I love it ;P 04:55:24 last alcohol I has was probably first grade heh 04:55:35 Hahahah 04:56:01 Wow, I just realized how trivial reference counting would be 8-X 04:56:06 * GregorR swaps in reference counting. 04:56:54 turns out IBM is hiring this week so I need to hurry :) 04:57:45 * GregorR shakes his Intel brand fist at you ;) 04:57:54 Actually, that doesn't make any sense. 04:57:56 * calamari patents Gregor's algorithm 04:57:57 IBM sells intel stuff. 04:58:01 lol 04:58:08 What, my reference counting algorithm? 04:58:12 yeah 04:58:25 Here it is: refcount++; refcount--; if (!refcount) delete this; 04:58:28 It's reaaaaaaaally complicated. 04:58:58 refcount++; refcount--; // optimize this ;) 04:59:24 There's code between there X-P 06:01:51 * GregorR switched back to BGC :P 06:06:22 Okay, so its not quite esoteric but it certainly is out-of-the-ordinary code manipulation 06:06:26 http://pasteserver.net/paste/show/260 06:07:40 you people have never drank rum? 06:07:43 you haven't lived yet. 06:10:08 <-- 19 years old 06:11:42 <-- 17 years old 06:19:49 <-- 3 years old 06:20:33 Sometimes I wonder :) 06:20:57 Gregor, check out that link I posted, c/c or something, if no one does I'll feel like my time was wasted :D 06:23:22 GregorR: 19 years old is pretty old. 06:23:30 don't tell me you never got drunk. 06:23:38 I never got drunk. 06:23:44 Jeez. 06:23:46 Americans. 07:09:43 ... 07:10:13 ... 07:10:25 ,,, 07:10:35 syntax error 07:10:41 please make a new language to accomodate 07:10:48 syntax errorsyntax errorsyntax error 07:11:19 stacklimit too much recursion please insert coin 07:11:59 * calamari opens the coin door and presses the magic button 07:12:21 FREE PLAYFREE PLAYFREE PLAYFREE PLAYFREE PLAYFREE PLAYFREE PLAYFREE PLAY 07:12:45 > 07:13:27 calamari, what have you done esoteric lately 07:13:50 Arrogant: nothing, been dealing with real life lately 07:14:05 I hear ya 07:14:21 well, I did get dbc's address so I can mail him his abacus :) 07:14:29 The only thing remotely related to esoteric languages I've done was this thing I did to make Ruby into a prototype-based language 07:14:33 Haha 07:14:44 so that's kinda esoteric related, since it was from the bf golf contest 07:14:56 * Arrogant nods 07:15:04 The code is rather horrendous so I think it fits 07:15:05 http://pasteserver.net/paste/show/262 07:17:47 I should learn Ruby sometime 07:18:36 looks slightly like python 07:21:14 Yeah 07:21:31 Except in Python I like the function model better 07:21:46 Considering in Ruby function_name doesn't refer to the function object, it calls the function :( 07:21:53 (parenthesis not required and all) 07:24:44 -!- calamari_ has joined. 07:24:55 -!- calamari_ has quit (Read error: 104 (Connection reset by peer)). 07:25:28 ^^ short term memory loss, heh 07:27:45 Hehe 07:48:39 You know calamari, prototype-based programming is sorely underrepresented 07:49:54 Either the language is a poor implementation of the design (Javascript), is outdated (Self), or has absolutely no syntactic sugar, making it a pain (Io) 07:51:29 what's wrong with Javascript? 07:53:30 * calamari looks up prototype-based programming to gain a clue 07:53:54 It doesn't really even get the prototyping model right 07:54:08 calamari, basically it gets rid of the Class/Instance distinction 07:54:15 Objects are clones of other objects 07:55:09 person = object.clone ; doctor = person.clone ; doctor.salary = 5000 ; steve = Doctor.clone ; steve.name = "Steve" 07:55:23 poorly paid doctor 07:56:14 Changes the way methods are defined as well, as methods have to be assigned like any other object 07:57:17 I think properly done it could be a fantastic model 07:58:07 hmm human.clone .. 07:58:26 * Arrogant hears the right-wing getting ready to protest prototype-based programming 07:59:59 wonder if the Libertarian Party will ever gain enough momentum to make a difference... so far, nope 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:03:05 btw, calamari, the code I linked you to was an implementation of ugly, incomplete prototype-based programming in Ruby 08:03:52 Mostly ugly because of Ruby's unfortunate distinction between blocks and methods :/ 08:04:39 I'd do it in Python except Python doesn't have anonymous blocks 08:17:02 -!- GregorR has quit (Remote closed the connection). 08:17:02 -!- EgoBot has quit (Remote closed the connection). 08:40:44 -!- calamari has quit ("Leaving"). 09:17:56 -!- kipple has joined. 09:54:52 -!- puzzlet has joined. 10:09:45 -!- Arrogant has quit ("Leaving"). 13:43:07 -!- jix has joined. 14:32:51 -!- sp3tt has quit ("Reconnecting"). 14:33:02 -!- sp3tt has joined. 14:56:56 -!- GregorR has joined. 15:43:11 -!- ihope has joined. 15:43:14 Scientology... the science of science? 16:13:47 -!- SimonRC has changed nick to Logan-5. 16:14:23 -!- Logan-5 has changed nick to SimonC. 16:14:25 -!- SimonC has changed nick to SimonRC. 16:35:18 ihope: Scientology: The science of attaining ultimate gullibility. 16:35:34 Ah. 16:35:37 A science that few have mastered. 16:35:47 Most of them actors or other influential morons. 16:48:36 nah, there are a lot of plain victims 16:49:03 To finance the much btter experience by all the famous people. 16:49:42 *cough* http://clambake.org/ *cough* Ididn'tmentionthissite. 16:51:22 * ihope has a feeling there's a URL between coughs, but upon closer inspection, there is none 17:03:09 fnord clambake fnord dot fnord org fnord 17:03:21 >-) 21:20:07 -!- Arrogant has joined. 21:44:37 -!- Arrogant has quit ("Leaving"). 22:19:43 -!- Sgeo has joined. 22:24:40 -!- calamari has joined. 22:46:05 -!- calamari has quit ("Leaving"). 23:37:06 have anybody here used Ruby on Rails? 23:37:27 my father wants to learn it. 23:37:53 looks like it could be a fun and quick way to do web apps 23:50:01 yay i use it 23:50:04 it's really cool 23:50:25 but i have to go to bed now.. school tomorrow and its 1 am here 23:50:30 (-10min) 23:52:03 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht").