Click here to Skip to main content
15,917,005 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Choosing what programming languages & frameworks to learn PinPopular
Marc Clifton21-Jan-20 5:43
mvaMarc Clifton21-Jan-20 5:43 
GeneralRe: Choosing what programming languages & frameworks to learn Pin
Terry Slack22-Jan-20 12:05
Terry Slack22-Jan-20 12:05 
GeneralRe: Choosing what programming languages & frameworks to learn Pin
Capelli Carlo22-Jan-20 1:18
Capelli Carlo22-Jan-20 1:18 
GeneralRe: Choosing what programming languages & frameworks to learn Pin
BryanFazekas22-Jan-20 1:41
BryanFazekas22-Jan-20 1:41 
GeneralRe: Choosing what programming languages & frameworks to learn Pin
Member 916705722-Jan-20 1:45
Member 916705722-Jan-20 1:45 
GeneralRe: Choosing what programming languages & frameworks to learn Pin
W Balboos, GHB22-Jan-20 3:31
W Balboos, GHB22-Jan-20 3:31 
GeneralRe: Choosing what programming languages & frameworks to learn Pin
sasadler22-Jan-20 6:17
sasadler22-Jan-20 6:17 
GeneralWell I ran into some good? bad? news with my bytecode optimization strategies Pin
honey the codewitch20-Jan-20 20:28
mvahoney the codewitch20-Jan-20 20:28 
So I was trying to make my emitted bytecode in lexly a little tighter generally and my strategy was to introduce an AST->NFA intermediary step so i could analyze the execution as a graph, optimize the graph, and then emit code from that.

Well, I overthrought it.

Dead | X| it turns out I could move my optimizations to the parsing phase and get the ASTs to write out tight code. I don't need the NFA at all. But I guess now that i have it i can create execution graphs with it. I don't know what for. It's barely code.

If this were "real" code my strategy would have merit, but since it's such a simple language it can all be optimized during the parse. I wasn't getting any better code out of it turning it into a graph.

Now, it's possible that i might down the road, if I can get the fecking thing to do partial DFA transformations on that graph and then introduce some special instructions for running a DFA that would really be cooking with gas, - DFAs are very efficient, but so far I haven't had luck doing a partial powerset construction because i'm using rangesets as my basic input alphabet element. I've been boxed in here by Unicode. What I'd like to do is expand the rangesets into individual characters when they're not too big, and then transform that subset, while leaving the rest of hte graph alone but so far the problem stumps me.

Anyway, I'm either banging my head against it, which sometimes works, or i need something fresh to work on but i'm not coming up with anything just now, and my permanent insomnia that comes with my madness makes this kind of fretful for me. I need stuff to occupy me through the witching hour.
Real programmers use butterflies

GeneralRe: Well I ran into some good? bad? news with my bytecode optimization strategies Pin
Greg Utas21-Jan-20 1:16
professionalGreg Utas21-Jan-20 1:16 
GeneralRe: Well I ran into some good? bad? news with my bytecode optimization strategies Pin
honey the codewitch21-Jan-20 4:32
mvahoney the codewitch21-Jan-20 4:32 
GeneralRe: Well I ran into some good? bad? news with my bytecode optimization strategies Pin
Greg Utas21-Jan-20 5:16
professionalGreg Utas21-Jan-20 5:16 
GeneralRe: Well I ran into some good? bad? news with my bytecode optimization strategies Pin
honey the codewitch21-Jan-20 5:45
mvahoney the codewitch21-Jan-20 5:45 
GeneralRe: Well I ran into some good? bad? news with my bytecode optimization strategies Pin
Greg Utas21-Jan-20 6:15
professionalGreg Utas21-Jan-20 6:15 
GeneralRe: Well I ran into some good? bad? news with my bytecode optimization strategies Pin
honey the codewitch21-Jan-20 6:17
mvahoney the codewitch21-Jan-20 6:17 
GeneralRe: Well I ran into some good? bad? news with my bytecode optimization strategies Pin
kalberts21-Jan-20 21:44
kalberts21-Jan-20 21:44 
GeneralRe: Well I ran into some good? bad? news with my bytecode optimization strategies Pin
Greg Utas22-Jan-20 2:40
professionalGreg Utas22-Jan-20 2:40 
GeneralRe: Well I ran into some good? bad? news with my bytecode optimization strategies Pin
kalberts22-Jan-20 3:09
kalberts22-Jan-20 3:09 
GeneralRe: Well I ran into some good? bad? news with my bytecode optimization strategies Pin
Greg Utas22-Jan-20 3:36
professionalGreg Utas22-Jan-20 3:36 
GeneralFinally! Pin
Super Lloyd20-Jan-20 19:56
Super Lloyd20-Jan-20 19:56 
GeneralRe: Finally! Pin
honey the codewitch20-Jan-20 20:09
mvahoney the codewitch20-Jan-20 20:09 
GeneralRe: Finally! Pin
KarstenK20-Jan-20 20:58
mveKarstenK20-Jan-20 20:58 
GeneralRe: Finally! Pin
Mark_Wallace20-Jan-20 23:25
Mark_Wallace20-Jan-20 23:25 
GeneralRe: Finally! Pin
dandy7221-Jan-20 3:57
dandy7221-Jan-20 3:57 
Generalthis is so cool! Pin
honey the codewitch20-Jan-20 14:36
mvahoney the codewitch20-Jan-20 14:36 
GeneralPhrases from job postings, translated Pin
raddevus20-Jan-20 5:11
mvaraddevus20-Jan-20 5:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.