« first day (557 days earlier)      last day (4407 days later) » 

11:00 AM
@LucDanton: Ok, back. How would you implement the move constructor for an alloca-based allocator? :)
 
Can't have such an allocator.
 
And you can always default it to copy.
 
@LucDanton unless I'm misreading, it's a requirement for allocators, according to 17.6.3.5 (I only have a draft here at work though)
 
I don't like making GUIs :(
 
@thecoshman no sane person does
 
11:04 AM
@jalf It's a requirement for allocators to have an alloca-based allocator?
 
@jalf everything is so painful
 
ok, let me try again. I don't see anything in the allocator requirements saying that it may spontaneously deallocate memory. It's not stated explicitly, but I find it hard to imagine that the intention is that there is literally no guarantee given about the memory returned by allocate(). I would expect it to last until either (1) the allocator is destroyed, or (2) you call deallocate(). For an alloca-based allocator, allocated memory can be freed outside of those two cases
 
I agree, there's nothing.
My point is, I have a conforming allocator provided that you don't mess up with the lifetime of the underlying arena.
I don't see why the memory that allocators use should exist for all of the program run.
Otherwise, what's the point of allocators? Why not use the free-store?
If you want allocators to be smart such that they automagically ensure that the memory lives up long enough I think the cost of such bookkeeping would be hefty.
 
@LucDanton no, it doesn't have to stay alive. But the allocator must guarantee that memory allocated through it stays alive until (1) the allocator is destroyed, or (2) you call deallocate
 
worse_than_gc_allocator<T>
 
11:16 AM
What you're building is an allocator which offers no guarantees about whether the memory you just got with allocate is actually still allocated
 
@jalf That's silly. In std::vector<T> v = make_a_vector(); the allocator of the returned vector is destroyed (ignoring copy elision).
 
obviously, if I try to use a chunk of memory given to me by an allocator after the allocator is gone, I'm asking for trouble. But as long as the allocator lives, shouldn't it maintain the invariant that "memory allocated by me is there until you ask for it to be deallocated"?
@LucDanton and?
 
@jalf The memory is not released via the guarantees of move construction of std::vector. It has outlived the allocator.
 
@LucDanton that's not what I'm talking about thuogh
I'm talking about whether the memory is guaranteed to stay alive within the allocators lifetime
 
I see.
 
11:19 AM
with alloca you can't guarantee that. The allocator might be stored in a smart pointer on the heap, and then it'll outlive the stack frame in which its memory arena existed
so you create the allocator, ask it to allocate memory, it does so, and then.... suddenly that memory is gone, but the allocator is still alive
seems kind of underspecified in the standard though
 
It is.
 
it just says that allocate allocates memory. Nothing about what invariants exist for the allocated memory
like, say, "will it stay allocated until you ask for it to be deallocated?" ;)
 
Is there a way to create a std::array using {} init and not specify the length?
 
@Pubby No.
 
Damn, guess I need C arrays then
 
11:23 AM
0
Q: What's the use of hPrevInstance?

IntermediateHackerI am not exactly an expert in Windows programming, but I have done some work in it for the past 11 months or so. And I've read some books about it. So, the idea I have of WinMain is... int WINAPI /* or APIENTRY */ WinMain( HINSTANCE hInstance, /* Handle to the Application's in...

 
@jalf Note that even with such a requirement I'd still stick with my allocator. The only way you'd break that requirement already leads to UB.
 
11:42 AM
Do you have to include Boost.asio explicitly?
g++ -lasio something?
 
@ManofOneWay you can try..?
 
4
Q: j = j++ difference in C++ and C#

DotNET NinjaI tried int j = 0; j = j++; code in C++ and C#. In C++ j == 1 but in C# j == 0. After disassembling resulting binary code I found the next: C++: 11: j = j++; 0130182D mov eax,dword ptr [j] 01301830 mov dword ptr [j],eax 01301833 mov ecx,dword ptr [j] 01301836...

Can one of you smart people answer this? I don't know enough C# to answer this adequately
 
It amazes me how many people try i = i++
And also try it on multiple compilers and different languages
 
i = i++ is a real stupid thing to write in cpp ...
 
11:58 AM
@LucDanton how so? Why would it lead to UB with a "normal" allocator?
 
Touching dead stuff and so on.
 
12:09 PM
Good morning all
 
@LucDanton why would it touch dead stuff?
 
I was wondering if any of you would help me with a C++ question that we have a flag on
 
@jalf If the memory went away it's because the arena is dead, which the allocator delegates to.
 
9
Q: Multiple inheritance: 2Classes1Method

obamatorI've just tried this piece of code: struct FaceOfPast { virtual void Smile() = 0; }; struct FaceOfFuture { virtual void Smile() = 0; }; struct Janus : public FaceOfPast, public FaceOfFuture { virtual void Smile() {printf(":) ");} }; ... void main() { Janus* j = new Janus(); ...

Generally, we'd close such questions as not constructive, but I'm guessing that's not the case here. I'd appreciate input on the above if you could.
 
@LucDanton But a in a "normal" allocator, the arena would not be dead
because its lifetime could be controlled by the allocator
@casperOne Hmm, why would it normally be not constructive? Because it's asking "how does X work", rather than "how can I do X"?
 
12:12 PM
That's not a smart design for an allocator.
 
well, or the allocator uses a memory pool that is guaranteed to outlive the allocator
as is the case with std::allocator
 
So as you can see the requirement wouldn't add much.
 
@LucDanton it would add safety: a guarantee that memory allocated by an allocator stays allocated as long as the allocator exists. I think that's a fair requirement
 
@casperOne IMHO, that's as good a question as any.
 
@jalf Just in the sense that people tend to not know what they're talking about on questions such as this (when they ask "how" and/or "why"). But, in the case of C++, I've noticed I don't see that as often with the answers (you guys are very good about spec reference, as well as being as of one mind about what's not defined by the spec).
 
12:14 PM
otherwise, you could define an allocator which deallocates memory 0.1 second after allocating, regardless of all other factors. Would that be legal?
 
Come to think of it what about the requirements for deallocate?
 
@casperOne Well, I tend to be much more forgiving than you, but I think it's a valid question.
not least because there's valid information in the answers
 
> Note:p shall not be singular. — end note
I don't understand why that's a note and not binding?
 
I think that's usually a good litmus test. If the answers are constructive, then something must be right about the question
@LucDanton good question
 
So it appears the Standard does expect that a value returned by allocate should remain valid long enough to pass it to deallocate.
 
12:19 PM
that would make sense
which is more than can be said for the whole allocators part of the standard....
 
That kills your hypothetical case but I'm not sure how to tie that to your would-be requirement.
 
@LucDanton what do you mean?
 
@jalf @rubenvb That's good enough for me. Thanks for the assist. Much appreciated. Have a good morning.
 
@jalf Bear with me for an instant but assume the following pathological code where A a; is an allocator of type A: A a; auto p = a.allocate(1); auto copy = a; assert( copy == a ); /* something happens */ assert( copy != a ); /* a can be destroyed now for all we care */; copy.deallocate(p, 1);
Assuming those asserts hold, I still think this fulfills the allocator requirements and is valid code while not fulfilling your requirement. In this instance a becomes 'stale' but since we have an equivalent allocator we can still deallocate memory. Even if a expires.
Does that make sense?
 
You mean you will "store" the allocator by creating a copy of an object that will just happen to use the same allocator ?
 
12:25 PM
Yes, the first assert is guaranteed to succeed as part of the allocator requirements. If you copy it, you've got an equivalent constructor.
The pathological bit is if somehow a later isn't equivalent with copy. We can still deallocate p given that we have an allocator that was equivalent to a at the time of allocation.
 
That sounds reasonably.
Tho heres a question, why would you want to do it ?
 
I still think allocators are meant to be really dumb, and that you shouldn't worry about Machiavelli. If it's the arena that dictates the lifetime of the memory, then take precautions for allocators and containers using that arena.
 
I mean, it's really "nice" to have the option to be able to use "someone elses" allocator but i can't seem to find a good use for it.
 
@ScarletAmaranth Container copies.
 
@LucDanton As in ... you will destroy the "original" that you have a copy of and you still will be able to use the default allocator?
 
12:30 PM
I'm not sure I follow.
 
Me neither :) Can you elaborate on "Container copies" as to how would you like to use this allocator preservation ?
 
It's not really preservation in the case of container copies. The new container will do its own separate allocation (and later deallocations) with its own copy of the allocator. It will not deallocate on another container's behalf.
But making equivalent allocators via copy is needed for the new, separate allocations to take place.
 
I see.
 
@LucDanton I agree that they're intended to be dumb. But I don't think that legitimates a design where the allocator cannot guarantee the validity of the memory it claims to allocate
That seems to me to violate the meanings of "allocate" and "deallocate". It would seem reasonable to expect allocated memory to be, well, allocated until it is deallocated, no?
but again, there seems to be nothing in the standard actually specifying what you can assume about memory returned by allocate
so technically, anything goes
 
No there's that deallocate requirement. Either that or the non-normative note is wrong.
 
12:42 PM
@LucDanton that it must not be singular. Doesn't that just mean it must not be a null pointer (or a similar "special" value)
a pointer to memory that is no longer valid wouldn't normally be considered singular, afaik
 
'derefenceable or past the end' perhaps? Better check.
 
in any case, that just means that you call a broken allocator valid, as long as you promise never to call deallocate ;)
which seems equally broken :D
 
Rumors that Steam is coming to Linux? Playing with my feelings again?
@jalf I don't see it that way.
> Iterators can also have singular values that are not associated with any sequence. [ Example: After the declaration of an uninitialized pointer x (as with int* x;), x must always be assumed to have a singular value of a pointer. — end example ]
 
@LucDanton hmm, ok
 
@LucDanton those are old.
 
12:48 PM
but with iterators, isn't there also a requirement that two pointers of singular values must be considered equal?
 
@rubenvb Not the ones I'm reading, no.
 
which again means we're talking null pointers, rather than arbitrary garbage pointers
 
@jalf You can't do anything with a singular pointer other than destroy it or assign it something else.
 
ah, ok
 
@LucDanton If they've already got it working on the mac, I suppose that's a step toward linux
 
12:49 PM
> Results of most expressions are undefined for singular values; the only exceptions are destroying an iterator that holds a singular value, the assignment of a non-singular value to an iterator that holds a singular value, and, for iterators that satisfy the DefaultConstructible requirements, using a value-initialized iterator as the source of a copy or move operation.
The very following sentence.
Better find something about pointers specifically rather than iterators in general though.
 
@LucDanton hired linux programmers? ifdef's in leaked source code?
 
Xeo
@LucDanton Wait, so assigning a singular value iterator to a singular value iterator is UB or am I missing something?
 
@Xeo Yes. Much like int i, j; i = j; is UB.
No surprise here, the rules for iterators were chosen to work with pointers.
 
Xeo
Right
I just thought that usage of such values was undefined
But even the assignment...
 
Ya it counts as a usage.
Btw this means that if you do T t; foo(t); in a generic context you can have UB assuming foo takes by value. Isn't that fun?
 
Xeo
12:53 PM
Very.
 
Now you'll be worrying about that constantly like I do, mwahaha.
 
Xeo
Memo: Always initialize with {} from now on.
@LucDanton :'(
 
@rubenvb Stuff here (you'll notice the 'source' is the same as usual). The damning images are dead from traffic I think.
 
Is anyone else disturbed by the fact that the URL for the Lounge<C++> is .../loungec?
 
@Xeo the singular iterator might contain some special trap value which triggers a hardware exception just on being read :)
 
12:58 PM
@rubenvb We shall now talk about all C all the time
 
@Collin go away. :P
 
Anyone who mentions C++ features will promptly be shot
 
it's much the same reason that you're not allowed to increment a pointer to point more than one past the end of the array.
 
@Collin Move semantics.
 
@Collin challenge accepted
 
12:59 PM
C FOR LIFE t(><)t
 
@classdaknok_t BOOM --- headshot
oh crap TF2 is built in C++
 
Still alive! :D
I'm a chicken.
4
 
@classdaknok_t Right to the top!
@LucDanton @Xeo @jalf Sorry to derail your much more intellectual conversation
 
@Collin more like C with classes. The Source engine isn't a pretty sight
or at least, the parts available to modders...
 
@jalf I read a tutorial once, but never actually tried anything
 
1:02 PM
Even if it was C++ it wouldn't be very pretty
 
The source code of of a game never looks pretty.
 
@jalf It turns out Valve actually built two source engines, one for themselves and one for everyone else -- done entirely by interns in 3 month stints
 
@Collin I made a game in it once. I wouldn't recommend it
 
@classdaknok_t Sure? I have only ever seen parts but EASTL for instance looks very solid
 
@KonradRudolph Maybe it's less bad these days, but many games are full of premature optimizations.
 
1:06 PM
@KonradRudolph well, it's a generalization, but there's some truth to it. game developers as a whole are very, very conservative. Why use C++ when you can use C with lots of macros and a few bits of asm? That was good enough for making games 15 years ago, so it's good enough for US
 
@classdaknok_t Are they really premature?
 
plus the whole obsession with performance, and and myths revolving around the same
@KonradRudolph many of them, yes. Not all, obviously
 
well, games need to perform, can' deny that. I do think they forget to measure sometimes
 
I’m not convinced. Games usually operate on the limit of what the hardware offers, even relatively moderate ones. And almost all the logic resides in the game loop. Every cycle saved makes the game slicker.
 
@jalf To clarify though, it's not that I want to make the life of my users harder or that I don't want to work on the implementation. But I divorced arena from allocator so that I can quickly try different sort of arenas without having to write different allocators (as it's generic and will work with anything that fulfills an Arena concept), and that the relation between arena and allocator is association. So if you break that association contract, it's beyond too late for the allocator reqs.
 
1:09 PM
@LucDanton ok :)
ugh, anyone here who's at home with windows permissions and access rights?
 
Quick question regarding dynamic memory allocation. Say I have two threads A and B. If I allocate an object on thread A, is it safe to deallocate it on thread B?
 
The less I deal with allocators and the more I can toy with std::vector the better.
 
need to create and signal events across processes, and with default access rights I get an access denied error
 
permissions and access to what?
 
@jalf I'm not allowed to touch the windows at home, greasy fingers and all that, but I don't think that'll help you at all.
 
1:10 PM
@Default in the win32 API. A ton of functions take some parameter describing the desired permissions
 
aha
 
GENERIC_WRITE_ACCESS | GENERIC_READ_ACCESS
 
hmm, let's try EVENT_MODIFY_STATE
 
1:29 PM
when you guys have to do GUI stuff, do you prefer to have the design compiled into the program, or loaded via a config file at run time? I like the idea of designers being able to layout elements with out having to look at code, but equal dislike the idea of users being able to do the same
 
I store the interfaces in separate files and load them at runtime when they are needed.
 
You can prototype with one and deploy with the other.
Not that "oh gawd users can modify the UI" is so terrible.
 
would it be possible to do some sort magic that can embed a data file depending on if you are in a debug build etc.
@CatPlusPlus no not that bad, though some sort of "I fucked up my UI, can I haz restore" button would be needed :P
 
Not your problem.
Qt can either load Designer files at runtime or generate code from them. Dunno about QML.
 
@thecoshman "I fucked up the executable by opening and saving it with Notepad, can I haz restore?!"
Same thing.
 
1:33 PM
yeah I guess
@cat do you know of a good openGL GUI system for in game HUD stuff?
 
Alternatively you can store checksums in your binary and just crash if they don't match those of the GUI files.
 
@thecoshman No, they all suck.
 
@CatPlusPlus good! Means I don't have to feel stupid for having a go at one my self :D
 
Maybe you'll manage to use one, I never had the patience.
 
Nah, I get fed up trying to learn other peoples libraries
 
1:36 PM
@thecoshman Ogre3D?
 
yours is one of the few that are to the point enough for me to be able to understand what they do
 
.
 
@Default that's a full 3D engine, I'm wanting a lib focused on the HUD side of things
 
aha
that's the only one I know of :)
 
@Default you mean using the AbstractHUDUISingletonFactoryFactoryFactorySingletonInstantiator class, right?
 
1:37 PM
lol
yes, of course
 
One that does not try to set up openGL for you, does not try to take over the user input, one that does not force you to set up any thing fancy
 
Writing a HUD shouldn't be that difficult.
 
@CatPlusPlus QML is basically javascript, so it's inherently not compile-time
 
I'm thinking some sort of collections of HUD elements as part of the library that you can extend or add to (for instance, overriding to make use of your own drawing code) and then laid out via some sort of config file
 
@classdaknok_t You must be new here.
 
1:41 PM
doh, I can never remember, is sstream or strstream the deprecated header?
 
cpx
â„¢
 
you're supposed to use sstream, right?
 
yes
 
1:43 PM
so code wise, you create a 'start game action' (probably by extending a class) and then in your layout config file, you say something like 'view.addbutton().setAction("startGame")'
not sure if I want the layout to be done via a xml style, or a more programming language style, thinking I prefer the idea of xml to store the data
 
Or JSON?
 
so maybe the config would more like <button><onClick><action>game start</action></onClick></button>
 
@thecoshman Stringly typed is bad.
 
egh, not sure, how best to store config, I'm sure it will come to me :P
and of course, need to have shiney transitions :D
I suppose @dead if I did make a 'sweet' HUD library, it would have to be DX for you to even think of using it :P
 
@thecoshman or just button { onClick : "game start"}. XML is so verbose it hurts to look at
also yay, I got the permissions stuff figured out!
 
1:57 PM
@thecoshman Not "just" DX
 
@jalf that's more a JSON style isn't it? yeah, I like that look too
 
I'd be fine with filling out some interface to my own rendering component
@thecoshman Just use Lua. Or JS.
 
@jalf how did you solve it?
 
that's what I'm gonna do
 
@DeadMG I was thinking about Lua, but wasn't too keen on the idea of having it as a dependency
 
1:59 PM
@Default just needed to set the right permissions. Needed ´EVENT_MODIFY_STATE | SYNCHRONIZE` when opening the event
 
though I guess it would make it easier for designers to do fancy things
 
first one to be able to signal the event, second one to be able to wait for it to be signaled
@thecoshman yeah, it is
 
nice :)
 
@thecoshman Contrast XAML (which is XML) against QML (which is js/json). The contrast is pretty staggering
 
@thecoshman Eh. Lua's as clean a dependency as you can get.
compiles cleanly with no makefiles or other BS on any C++ compiler
 
2:00 PM
yeah... makefiles :P
 
even Visual Studio will compile it cleanly out the box
and you can do things like mahButton = button { onClick = function() end }
 
I've not used Lua, but I understand it is rather easy to write a function and provide a 'hook' so that it can be called form the Lua scripts
 
you mean exposing C++ functions to Lua?
 
yeah :D
 
yeah, it's not particularly difficult
the only reason I'm coding my current efforts in C++ is because I like the debugger :P
and I'm absolutely planning on writing the real thing in Lua script
 
2:08 PM
what thing you working on? your space game?
 
yeah
 
> (Toady One) I've mostly been handling various projectile unit/item collision issues, which involves shooting carts through the air at falling critters and so on.
 
I like the jquery style of being able to control elements. So it shouldn't be too hard to mimic that. And I guess a sort of DOM like model wouldn't be too far off what I am thinking of
 
DOM is terrible.
 
user406009
I think thecoshman is talking about the idea of CSS selectors.
 
user406009
2:11 PM
I like the nice mix of class and ID identification that allow you to be able to select almost anything easily.
 
user406009
Then apply operations as a group.
 
DOM is terrible.
 
CSS, too.
 
absolutely agreed
 
user406009
Should probably read what I write before pressing enter :(
 
2:13 PM
where's the fun in that?
 
Indeed.
 
well, obviously I need to be able to nest elements. So bunch of options could be on one 'tab' and in order to have tabs, I just hide one page of elements and show another. the tabs are just buttons with a pimped out skin, and some code to group them together so that only one is shown
 
@thecoshman But what you also shouldn't do is enforce a hierarchy like HTML does.
 
I don't intend to do CSS style to control how you want elements to have a default rendering code in a rather 'it works damn it' style, and then allow you either derive the elements or just provide your own call back function to be used to draw the element. Either way, need to make it easy to use your own rendering code
 
@ScottW Don’t mind if I do
 
2:20 PM
@cat when's glskel getting Linux support :P
 
Als
@sbi: Indeed, I have been away. Partly because workplace proxies have blocked this C++ Lounge chat & also I have been caught up in lot of other personal things.Good to know you are fine and kicking(I remember seeing a couple of your answers recently)
 
@ScottW hourly reminders :P
 
I’m still not sure that that’s a badge of honour
more a badge of shame
 
@ScottW your only saying that for a star :P
 
You talk too much :)
 
2:35 PM
damn
I hate floating point
 
Exceptions should never be caught. If you need to catch an exception, it's an ineffective code sprinkled with magic gotos, and are handling non-exceptional circumstances. — Coder 2 hours ago
What
 
well, that's just silly talk
 
Maybe he's talking about using exceptions as control flow?
 
@Pubby I guess?
 
That's just stupid :)
Actually, exceptions are usually not slower than regular if checking. Not to mention that they can be even faster.
 
2:37 PM
@Pubby you mean, being in a switch, and rather then using break throwing a 'IWantOutException'
 
@Pubby The question is about times when the Java API forces you to do so, but it seems like he is saying all exceptions should end a program or something
 
Exceptions are much slower if you throw
The cost of not throwing is just executable bloat
 
You need to unwind the stack ...
That's not all that expensive rly, you can handle it whenever you want.
 
What?
 
Well, whenever you throw an expecetion
it starts unwiding the stack until it finds
 
2:39 PM
@Collin oh Java loves throwing exceptions at you
 
a handler
 
Doesn't it involve RTTI though?
 
@ScarletAmaranth You need to unwind exactly the same stack if you use traditional flow control with 'error-code checking style'. It will just be less readable
 
isn't boost::variant kind of pointless now as unions can use non POD data?
 
@sehe Yes, that's what I'm saying. All you need to do is to unwind the stack and use a lookup. Also it might be less readable but you don't always have to check, you can just set up a catch block which can handle multiple exceptions.
 
2:43 PM
@ScarletAmaranth I think you're getting me in reverse. I think exception blocks are way more readable and much easier to get right.
 
@sehe Oh, ok, i though you were against exceptions ...
 
@ScarletAmaranth ??!? :)
 
@sehe Yeah i was wondering why you would act like a nut :P
 
Oh that's simple: for fun, obviously. But I forgot this time around
 
I just put my star on all the shit that got starred while I was gone. -_-
 
2:45 PM
Mhm, make good use of void*** and then we can talk fun :)
 
Hmm, I need to call a function to set a callback before I use some other functions. Is there a better way than putting register_callback(); at the top of each block?
 
Global shared singleton void* array.
We use that instead of ordinary pointers.
It's a tradition.
 
Instead of? Don't you mean in addition to?
 
Now that's just silly.
What's that register_callback thing?
 
@RMartinhoFernandes I like the comeback too: I program skating and shit
[03:55] <vipejc> does anyone in here have hockey programming skills?
[03:56] <vipejc> i know
[03:56] <Oluseyi> you don't program hockey
[03:56] <vipejc> ur so slow
[03:56] [Drevay] yah, you program games
[03:56] <Oluseyi> your question is malformed
[03:56] <Promit> "does anyone in here have hockey programming skills?" -- omg.
[03:56] <vipejc> ur brain is malformed
[03:56] [Drevay] vipejc, i think this is a vice versa situation
[03:56] <Promit> ...
[03:56] <Ainokea> I gotz mad hockey programming skillz
 
2:50 PM
> [03:56] <Oluseyi> your mother is malformed
Is that DeadMG?
 
Thats the guy that collaborates and elaborates on Hockey ideas ?
 
wtf? where is this from?
 
@CatPlusPlus Fuck you, I was just about to make that joke :(
 
@CatPlusPlus It sets a custom error handler that throws instead of returns an error code.
 
@CatPlusPlus That was another reason to post it here. DeadMG is on programming forums
 
2:50 PM
@sehe Actually, I'm not.
 
@Pubby Where is it from?
 
ah, never bother with gamedev for more than the odd article
 
@CatPlusPlus Well the library I'm using is xlib. The 'register_callback' looks like this:
  static void x_use_exceptions() {
    XSetErrorHandler(x_handler);
  }
 
I never heard of gamedev but the robot's quote sent me there.
 
2:52 PM
Ah, X.
Use xcb.
 
I need glx
 
Too many acronyms!
 
Use XCB anyway.
You can create a context with GLX on an XCB-handled connection.
 
@ScarletAmaranth TMA
ftfy
 
Eh, does XCB allow easier exceptions?
 
2:54 PM
@thecoshman Naturally, how foolish of me :)
 
Dunno. I wouldn't throw exceptions from C callbacks.
 
It might wreck the place.
 
C does a pretty good job at that even without exceptions ...
 
Really? I thought about it but couldn't see how it would break anything.
 
2:55 PM
Also there's little to do in case of X errors than to save and quit.
 
@ScarletAmaranth C doesn't really do a good job of anything.
 
@CatPlusPlus I suppose my problem with XCB with GLX is that it requires Xlib too. It just seems like overkill for little gain.
 
@DeadMG You're making stuff up, it has wonderous features such as trigraphs and other programming-friendly concepts that can be utilized to their full potentional, bringing significant performance AND productivity benefits.
 
C has no feature known as trigrams
perhaps you mean trigraphs?
 
whops, too much NLP
 
2:56 PM
@Pubby It's dangerous, because C code doesn't know about it.
@Pubby Xlib API is clunky. And XCB will be installed anyway.
 
I'll ask about it on SO, might as well look at XCB too.
 
user image
3
epic win!
 
Ah, Promit and Oluseyi are still around there. I admire their persistence, I guess
 

« first day (557 days earlier)      last day (4407 days later) »