« first day (867 days earlier)      last day (4095 days later) » 

9:01 PM
there actually are D people?
 
prolly more than before (maybe Alexandrescu jumping ship enticed a few of them?)
 
double-D even
 
@DeadMG Are the D people the descendants of the sea people?
 
there are Z people too
they normally asleep
 
@kfmfe04 Andrei is no longer in D?
 
user142019
9:04 PM
Z shell. <3
 
@FredOverflow Yeah, that confused me too
 
user142019
The Z in Z shell is from Zoidberg.
 
@FredOverflow haha - I meant after he jumped the C++ ship
 
@Zoidberg No.
 
@kfmfe04 He didn't. Also, that never changed for D. He has been the designer from the very start
 
9:05 PM
> The name zsh derives from Yale professor Zhong Shao's (then a teaching assistant at Princeton University) name.
 
@sehe didn't realize that - D has been around for a LONG TIME
 
Yup. And Andrei is still promoting C++ with Herbs and Scotch
8
 
I thought he joined around D2
 
> Instead of the 3 char types of D, Rust has 1 char type: char A character is a 32-bit Unicode code point. And only one string type: str String type. A string contains a UTF-8 encoded sequence of characters. For algorithms that do really need to index by character, there's the option to convert your string to a character vector (using str::chars).
 
I actually like C++ after c++11, but it's always nice/fun to try new things - have been meaning to play around with haskell more
 
9:07 PM
@kfmfe04 This sounds very sane!
 
@sehe Walter has been the designer from the start. It had been around for quite a while before Andrei jumped in. Or did you mean, he's been helping design the language since the start of his using it? I doubt that's entirely correct either, but at least it's quite a bit closer.
 
Damn. I must have been missing a bit there. Sorry /cc @kfmfe04
 
@kfmfe04 You won't regret playing with Haskell.
 
user142019
Oh new Xcode defaults to libc++ and C++11.
 
I thought Rust's pointer system is nice:

> Despite Walter said that having more than a type of pointer is bad, both
> Ada and Rust have several pointer types. Rust has three of them (plus
> their mutable variants).
>
>
> Rust supports several types of pointers. The simplest is the unsafe
> pointer, written *T, which is a completely unchecked pointer type only
> used in unsafe code (and thus, in typical Rust code, very rarely). The
> safe pointer types are @T for shared, reference-counted boxes, and ~T,
 
user142019
9:08 PM
And clang instead of GCC 4.2. \o/
 
@FredOverflow In a way, you probably will -- every time you have to use most other languages.
 
> Rust supports several types of pointers. The simplest is the unsafe pointer, written *T, which is a completely unchecked pointer type only used in unsafe code (and thus, in typical Rust code, very rarely). The safe pointer types are @T for shared, reference-counted boxes, and ~T, for uniquely-owned pointers.
nice!
 
IOW, "special language magic" for what should be a plain library feature.
 
user142019
Zoidlang has T* and T^ pointer types for non-aliased and aliased pointers respectively.
 
9:10 PM
wtf
 
@DeadMG If it's done one way in a language it doesn't need to be done the same way in all languages.
 
Didn't we have that discussion about how "language" < "library" when it comes to features?
 
...
 
user142019
!!!
 
Didn't we agree we didn't all agree
 
9:10 PM
@AndreiTita Yeah, except library features are way superior to language, so if it's not done in a library feature, then it sucks.
 
@EtiennedeMartel have*
 
@FredOverflow Learn You a Haskell for Greater Good is an ok place to start? for a total newbie?
 
user142019
@kfmfe04 yes but you may want to do Try Haskell first.
 
mumble anyone?
 
user142019
But LYAHFGG is good too.
 
9:12 PM
@TonyTheLion Still at work, sorry.
 
@kfmfe04 You mean great good :) Yes, it's a beginner's book.
 
@sehe I meant it in a "let's not have it again" kind of way.
 
@EtiennedeMartel Me too
 
@FredOverflow oops - excuse my grammar - LoL ;^P
 
9:13 PM
@ScottW You're a dog.
I don't fuck dogs.
 
@ScottW bow chicka bow wow
 
fuckshitballs.
 
No you don't.
 
I broke Wide.
 
@EtiennedeMartel Nice lysdexia.
 
user142019
9:13 PM
Fuck God.
 
user142019
That asshole.
 
@ShotgunNinja Sometimes I think I'm worse than the pirate.
@DeadMG Again.
 
@EtiennedeMartel No, this is really broken.
 
user142019
In Soviet Russia, Wide breaks YOU!!
 
@DeadMG Again.
 
9:14 PM
wtf, I haven't really broken it before.
 
@DeadMG riiiiiigt
 
user142019
Wide broke itself because it hates you.
 
anyway, it's certainly the first breakage where I was literally about to go implement that feature, when I realized it was broken.
 
@ScottW We could have lounge Cubs
 
user142019
Hmm, the C++ standard says at some point that "preprocessing tokens are deleted." Hell++ would interpret that nicely. :)
 
9:15 PM
delete tokens;
done
 
no smart pointer? you suck
 
user142019
It deletes them from your source file!
 
user142019
Vigil++!
 
I know that I suck
 
@Zoidberg Tell me you're not working on CPPGM pa1
 
9:16 PM
Y U TELL ME THINGS I KNOW?
 
user142019
@sehe lolno.
 
@TonyTheLion Keep thinking like that, and you'll keep sucking.
 
user142019
But I did have the terrible idea of implementing C++ (hey, I had to do something interesting in the plane).
 
wait
I can hack it together
 
@EtiennedeMartel You're right, unfortunately
 
9:17 PM
@Zoidberg I'd love to get rid of Clang.
 
user142019
Hmm.
 
user142019
Using LLVM to speed up template instantiations.
 
already planning an equivalent for Wide.
so nyarhar, no original thoughts for you.
 
user142019
I have the identifier lexer almost done.
 
you know
it is getting really fucking confusing when I have C++ source for my program, and C++ source to be used at run-time by Wide, in the same folders.
 
9:19 PM
@DeadMG yeah, don't do that
 
user142019
identifier :: Parser String
identifier = (lexeme $ do
    c <- (nonDigit <|> try universalCharacterName)
    cs <- many (nonDigit <|> digit <|> try universalCharacterName)
    return $ c : cs) <?> "identifier"
 
user142019
Isn't it beautiful.
 
user142019
(If it's even conforming lol.)
 
@Zoidberg I wrote most of a C compiler for my company's bytecode, in hopes of convincing management to drop our in-house-language. (Didn't have structs or unions yet, but structs are at least possible on our bytecode.
 
user142019
Oh I have keyword lexer also done.
 
user142019
9:21 PM
keyword :: Keyword -> Parser ()
keyword = void . lexeme . string . fromJust . flip lookup keywords
 
@MooingDuck Write LLVM backend for it.
 
@TonyTheLion So stop doing that. Go out and make the world a better place by kicking assholes in the face.
 
@EtiennedeMartel Punching instead for Tony.
 
Oh, right. Forgot about that.
 
@DeadMG wait what? The point was to replace the language. Replacing the bytecode is a separate goal.
 
user142019
9:21 PM
Faggot about that.
 
@MooingDuck in-house-language could be useful if it's a well-defined DSL - did it turn into a general-purpose lang?
 
@EtiennedeMartel :)
 
Well, punch 'em. Or take a golf club to their faces.
 
@DeadMG no wait, I got it
 
yeah
or just replace your entire goddamn system with LLVM and Clang.
:P
 
9:22 PM
@kfmfe04 no, it's not general purpose. It's retardedly single purpose. Oh, you want a variable? TOO BAD.
 
lol
 
@DeadMG Its for... effectively a plugin system. I want to replace it all with Lua.
 
@MooingDuck Makes me wonder, how difficult is it to write a C compiler?
 
@MooingDuck LuaJIT is pretty fuckin' fast, too.
 
user142019
I want extern "Python".
 
9:23 PM
@EtiennedeMartel non-optimizing for a simple bytecode? Turns out not all that hard.
 
@EtiennedeMartel If you used an LLVM backend, it's seriously not that hard.
 
@DeadMG even better
 
@EtiennedeMartel I'll be your BowTie. <3
 
Bowties are cool.
 
they fuckin' are now.
 
9:25 PM
@kfmfe04 1) only variables are function parameters addressed by type and number. 2) Functions cannot return variables. 3) parameters are either int, string, or file. 4) the only operations on a string are pop the first letter, and strlen. 5) the end of any scope (like an if block) ends the current function.
 
wtf - like a badly gimped general-purpose-language (worst of both worlds: GPL, DSL)
 
That number 5 there really gets me. The rest of this I've addressed via extensions, but the broken if scope.... if I "fix" that it breaks existing code...
@kfmfe04 yes
 
@MooingDuck That's seriously terrible.
get Lua now.
 
You should nuke the whole language. ._.
 
Which reminds me that Doctor Who's next episode is so fucking far away.
 
9:27 PM
btw
 
And force customer upgrade.
 
should I put all my tests in the same file?
 
user142019
No.
 
or in multiple files?
I mean, some of them are lolsshort
 
user142019
I always have one file with tests for each header file.
 
9:27 PM
@DeadMG you know what makes this worse? We only have like two customers who use the custom language. But I can't replace it because then they would have to learn the new language. :(
 
I don't have header files.
 
user142019
(I hope you use Catch. :L)
 
I don't think there's a Wide implementation.
 
user142019
Oh for Wide.
 
well, arguably, I'm testing the compiler, I guess. :P
 
user142019
9:28 PM
Uh
 
user142019
Test blocks in the tested module!
 
user142019
test {
    // test cases to test this module
}
 
Test blocks would be sweet.
 
nah
 
You should support Test blocks.
 
9:28 PM
I'm just gonna make a bunch of test_n functions and call them from Main.
 
@DeadMG hmm, I wonder if I can coax my boss to let me ask the customers about the idea of replacing our language with lua.
 
They should expand to try {} catch {} .
 
watdafuqelse would I do
 
@MooingDuck Do it.
I don't care how you get it done, but do it.
 
@MooingDuck Considering that he'd have an actual, working language, it would be something for nothing.
 
9:29 PM
If you can show Customers would change the language, you could definitely go for it.
 
@DeadMG I'd have to replace all the code that deals with our language and bytecode both, as well as replacing all the code we've already written and tested in said language.
 
@MooingDuck What is the said language? I missed that.
 
@CaptainGiraffe custom language at my work. I call it GSL, but it has no official name I know of. And the assiciated bytecode is "quads"
 
user142019
Write LLVM back-end for bytecode and use Haskell and GHC.
 
@MooingDuck True, but it'd be a lot easier to make new things in it.
 
9:31 PM
@MooingDuck Looks like?
 
6 mins ago, by Mooing Duck
@kfmfe04 1) only variables are function parameters addressed by type and number. 2) Functions cannot return variables. 3) parameters are either int, string, or file. 4) the only operations on a string are pop the first letter, and strlen. 5) the end of any scope (like an if block) ends the current function.
 
also, LLVM back-end for that bytecode would be best, if the bytecode is sufficiently flexible.
 
I'm having a real hard time doing outlines for my models.
 
@DeadMG bytecode is only slightly more flexible than the language.
 
oic.
 
user142019
9:31 PM
@DeadMG so he can use Wide? :')
 
@MooingDuck So a shell language from the 50's nice.
 
lol
 
@CaptainGiraffe yeah
 
arguably you could indeed use the Wide components to link in Wide code.
in fact, very strictly, I call Wide from C++.
 
user142019
If I'd embed scripting language in program it'd be CoffeeScript and I'd use V8.
 
9:32 PM
extern "C" {
    void __wide_main();
}
int main() {
    __wide_main();
}
 
@CaptainGiraffe Let me summarize: whoever designed it is clearly destined for the sixth (or maybe seventh) ring of hell.
 
just a trampoline because main is full of specials that I don't quite understand.
 
user142019
extern "Wide"
 
so I skip them by creating a C++ main that trampolines right into Wide.
@Zoidberg That shouldn't be necessary, when I'm done.
 
@JerryCoffin Aah Dante, we meet again =)
 
user142019
9:33 PM
__wide_main is reserved. :v
 
@Zoidberg I am the implementation.
7
it's reserved for me.
 
user142019
No, you write the implementation.
 
the point's the same.
 
user142019
:P
 
@DeadMG not of the C++ compiler
 
9:34 PM
blunt
@MooingDuck That's not the point
 
user142019
I am a single.
 
@ScottW Always remember you're unique -- just like everybody else.
 
@MooingDuck Well, that's strictly true, but if it turns out the C++ compiler uses that name, I can fix it.
 
Morning
4
 
so the difference is moot.
 
user142019
9:35 PM
@DeadMG omg moot <3
 
besides, I'm hoping to write an interop module so that you don't have to do that.
 
@CatPlusPlus Ohaiyo, Cat-san~
 
but who knows
logically, C++ source files are compiled before Wide source files.
so there's a limit as to what can be done there.
 
When I make my language, I'm just going to spit out C or C++ source code and save myself the agony.
 
user142019
Compile Wide to C++.
 
user142019
9:36 PM
:P
 
hmm.
 
user142019
Hmm, C++ back-end for LLVM. :L
 
it would solve some problems to compile Wide to C++.
 
If you want to write C or C++ code directly, you'll have to put it in a messy { } block.
 
but introduce many others.
 
9:37 PM
@Zoidberg C++ to C++ compiler?
 
user142019
@MooingDuck :)
 
now I can't remember what it was I was the doing.
 
@ThePhD Oh no. I'm getting flashbacks!
 
user142019
I once wrote a Turing-complete VM in JavaScript with 256 floating point registers. :3
 
right- trying to permit overloaded member function calls.
 
user142019
9:38 PM
@DeadMG interop module
 
@sehe To what? D:
 
user142019
Because the compiler says so.
 
Does new[1] get replaced by a simple new; ?
 
@ThePhD no
 
user142019
No, of course not.
 
user142019
9:40 PM
For one, you still have to do delete[] and if it would new instead of new[] then you'd have UB.
 
It's semantically different.
 
Bleh.
 
Jan 3 '12 at 16:35, by sehe
@IntermediateHacker There. I reimplemented your compiler (sic) thingie. In about 20 lines of perl, plus the TOP/BOTTOM templates. See it live: http://ideone.com/H5z0d
 
Perhaps the implementation treats them as the same thing. But the standard says they are different.
 
Jan 3 '12 at 16:38, by sehe
@IntermediateHacker The slightly less good news is that I can begin to enumerate the problems, and be done in 2012, only because I can start so early in the year.
The rest of the conversation is also quite "nice"
 
9:42 PM
@sehe: Two questions, are imports/includes handled via semantic actions or some sort of preprocessor? and how does one handle "low level" standard output? (have any references on the subject?) :)
 
@Borgleader You'd handle that in the input iterator :) (some sort of preprocessor is cloase).
 
:O
Cool.
 
@Borgleader I don't know what you mean by "low level" standard output. You mean, debug info?
 
So technically my language is just a text template.
Since I'm really just writing more text to write to a compiler.
Teehee, metameta coding.
 
@Borgleader Look at how Boost Wave does it. It uses an 'old' version of Boost Spirit
 
9:44 PM
BLAAARGH
 
I guess I have to do deferred rendering.
Because if I don't, I will be unable to draw outlines on these objects. =[
 
@sehe I mean, cin/cout/cerr/clog, these write to OS standard streams. If I'm making my own language, how do I access those? Do I wrap C/C++ code?
 
man
why is everynoob here writing a language
grow a pair and make an implementation, scrubs
:P
 
@DeadMG I felt like it.
 
9:46 PM
I dream of writing a language but my current efforts are spore and an MMORPG
 
Man I suck at designing
 
@Borgleader I don't get it. Of course, you'd ... write to stderr/stdout. How you interpret/compile your language is really something you should figure out yourself.
 
and by working on an MMORPG, I mean fleshing out concepts, but I haven't started any code, because I've never done anything of note in 3d before.
 
Good one
 
@ScottW you have good delegation skills IMO
 
9:48 PM
@Herious did you notice the glowing blue letters in sehe's comment? Those are links. There should be lots of example code in those links. How many of the examples have you read? — Yakk 28 mins ago
 
user142019
Kanniewaarzijn is a funny program on TV.
 
Ell
@DeadMG for an existing language?
 
@Rapptz Why so? D:
 
@Ell For the languages they're making up.
 
@sehe Hmm... I guess I'm not clear enough on it myself to ask a sensible question. I'll get back to you on that later :)
 
9:49 PM
my Wide implementation may not be glorious, but it does exist and it can do some shit.
 
@Borgleader :)
 
@DeadMG yeah but that took you quite a while to make.
 
@Borgleader OS API.
@Rapptz It has taken some time for my implementation to progress, I admit.
 
@Zoidberg Really. Should I watch it, or only if I'm officially depressed?
 
@ThePhD I just do.
 
9:50 PM
@Rapptz NONSENSE.
Pics or its not true.
 
user142019
@sehe not your kind of humor.
 
I meant code designing.
 
@Zoidberg Ok. Thanks
 
I'm decent at graphical design I guess
As in how I'm laying out this code or how to think about doing this properly and non-messy.
 
@ScottW You, sir, should watch it!
@ScottW it's C++ again
 
9:51 PM
@DeadMG Oh I guess that makes sense.
 
@ScottW You didn't make it. RIP
 
Ell
I think starting with the network is a bad idea somehow
 
I believe you
 
user142019
@ScottW Nederland 1.
 
@ScottW uitzendinggemist.nl/programmas/3012-kanniewaarzijn Probably won't work outside the country...
 
user142019
9:52 PM
@sehe it does.
 
Ell
I wanted to write a game lobby server & client
 
user142019
At least, it worked in Spain.
 
Ell
I think IRC would do for chat
 
@Zoidberg Spain is half colonized
@Ell What you here for, then?
 
Ell
@sehe for the game lobby server :3
 
9:54 PM
@ThePhD Not without +, and I am not very interested in +.
 
^ Not my kind of humour indeed. Bloddy what?!?! Solverloit?
 
Aww. :c
 
user142019
@sehe it always worked with HTML 5.
 
@R.MartinhoFernandes But but... concatenation operations... ;~;
 
@LucDanton Oh, the anything taking CodePointRanges is supposed to accept code_point const*s as well. Don't you think taking arrays gets weird because of null termination?
@ThePhD That functionality is already there.
 
9:56 PM
... said Intel on presenting their new CPU
 
@R.MartinhoFernandes So just wrap it up in a nice operator+ and operator+=, pretty please?? <333
 
@ThePhD Nope, because wrapping the functionality in operator+ requires expression templates.
 
Binary game (warning: crappy music, but addictive)
 
And op+ cannot cover all the functionality that is already provided.
What's the obsession with op+?
 
I dunno. It's just convenient, I guess. :c
 
user142019
9:59 PM
@FredOverflow wow that's boring.
 
@FredOverflow 2.9K before I got insanely bored.
 
I don't find concat(a, b, c) any more inconvenient.
 
user142019
Would be slightly more fun if they removed the decimal notation at the bottom.
 

« first day (867 days earlier)      last day (4095 days later) »