Oh yes .. performance analysis are ALWAYS surprising. Good profiler is eeded when performance is an issue. You langsmiths, think about some profiler support in...
... String concatenation should not be a problem: I work on lists of strings inside a line, and only concatenate them at the end. A list of strings is...
... I'm using global C variables as "virtual registers". I tried putting some of them in physical registers (using the appropriate GCC extension), and was...
W li¶cie z wto, 01-06-2004, godz. 14:39 +0200, Marcin 'Qrczak' Kowalczyk ... Oops, I must have compared wrong data. I don't know where the 19.5s came from,...
... As I said, the idea was not to get some sort of absolute performance, but instead things exactly like what Marcin posted. I.e. "I did this and it changed...
Kyle Hayes
kyle@...
Jun 1, 2004 3:37 pm
1867
W li¶cie z wto, 01-06-2004, godz. 15:43 +0200, Marcin 'Qrczak' Kowalczyk ... And what I settled at: the old heap size is calculated as 4MB+alive*2, not...
... There is no other reference to walkingOrRunning because it never needs to be changed. If I saw Inertia, or just about any programming language, without any...
W li¶cie z wto, 01-06-2004, godz. 18:25 +0200, Marcin 'Qrczak' Kowalczyk ... Sorry about talking about the same thing over and over, but I finally know how it...
I came across the following site which has lots of useful links for Language Smiths: http://www.ai.mit.edu/projects/dynlangs/oodl-course/spring01/ Of...
I was thinking of the idea of writing a c interpreter... there would be both good and bad points to this: c is a bit low level for use as a scripting language;...
... tcc [1] can be used as a dynamic scripting language. It compiles links and executes 'in-memory'. x86 only though. [1] http://fabrice.bellard.free.fr/tcc/ ...
Chris Double
chris.double@...
Jun 3, 2004 2:10 am
1873
... links ... interesting. in my case I had been imagining a bytecode interpreter, but whatever... a bytecode interpreter has the plus of being a lot more...
Hi all, I've recently introduced a new feature in the spec of my language and I'm thinking of the implications... The feature can be thought of a generalized...
What does this do that multimethods and public instance variables don't already do? I'm not saying this does nothing, I probably just don't really understand...
Hem, here's my vocabulary : - postfix : in a postfix operator like in Eiffel : the instance invoked is not the lhs one but the rhs one : Complex c; int i; i...
... Oh, I thought you meant postfix as in Forth. Yes, it would be very useful to generalize it to everything, not just infix operators, but you can do this...
... How do you dispatch that at compil time ? (without heavy analysis technic) Object o = createSomeObject(); // static type is known (Object), but real ...
... Look at the extension for Haskell for multiparameter typeclasses. These are not standard, but there is an extension for GHC and Hugs to support these. ...
OK, so just replace Object by your favorite parent class that has multiple subtypes ... :-) (if you don't want Object) Another thing : in my language, there is...
... What did I say implying that you'd want to change Object? ... That's my least favorite "feature" of the Java/C# typesystem. Is there any reason to do this...
... Nothing, you just said "Most modern static type systems don't have things like Object or void *; those are inherently unsafe." I just wanted to point out...
... I was talking about any sort of common parent, not necessarily Object. You're essentially creating a dynamic type system when you do this and then let ...
... I don't see what are the problems with dynamic type system (late binding with single or multiple dispatch). They are commonly used today (and yes, that's...
... I don't really see any problem with a dynamic type system either, but if you're making a dynamic type system, make a real dynamic type system without...
... Do you mean prototype based ? I really don't like prototype based language : when I'm using a class, I like to be able to know the things I can do with it....
... Well, it could be prototype based, but that's irrelavent. It could also be like Python or Ruby, which are class-based but completely dynamically typed. ...