[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

[Advertise on 4chan]


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: IMG_2434.jpg (171 KB, 640x1136)
171 KB
171 KB JPG
Post your hand in front of the most complex piece of code you're written

OR

in front of code that you wrote in the past 7 days.

I wanna see somthin'
>>
I don't have hands
>>
>>81449705
post toilet sir
>>
SIR! please show poop.
>>
>>81449705
Nice. I thought I was the only brown man on this dump
>>
File: IMG_20210503_221714_1.jpg (2.42 MB, 2160x3840)
2.42 MB
2.42 MB JPG
If I write complex shit I know I fucked up. There's no reason to write anything complex. Unless your name is Igor Palvov.
>>
>>81449705
you look ill
>>
>>81450118
>I thought I was the only brown man on this dump
g is majority non white
>>
This thread glows
>>
File: 20210504_000115.jpg (893 KB, 2055x3073)
893 KB
893 KB JPG
>>81449705
>>
>>81450975
based
>>
>>81450941
>>
>>81450975
>>81451006
>not python 2
>>
>>81451598
>using old shit that no one supports anymore.
>>
>>81451619
ah yes because this thread is filled with serious replies said in all seriousness meant seriously (seriously!)
>>
>>81450975
post boipucci
>>
>>81449705
>>81450570
wtf? what library is this?
t. brainlet with minimal experience
>>
>>81450118
>>81449705
Nigger or pooshitter?
>>
File: 5head.jpg (69 KB, 983x968)
69 KB
69 KB JPG
not falling for it glownigger.
>>
>>81449705
The most complicated code I've ever written is 2D collision between arbitrary polygons. I'm also white as snow.
>>
Nah i don’t want you to make fun of my language of choice
>>
>>81450975
python nigger
>>
File: lain_peek_creepy.png (254 KB, 497x474)
254 KB
254 KB PNG
complexity is nothing to be proud of.

http://suckless.org/philosophy/
>Many (open source) hackers are proud if they achieve large amounts of code, because they believe the more lines of code they've written, the more progress they have made. The more progress they have made, the more skilled they are.
>This is simply a delusion.

>Most hackers actually don't care much about code quality. Thus, if they get something working which seems to solve a problem, they stick with it. If this kind of software development is applied to the same source code throughout its entire life-cycle, we're left with large amounts of code, a totally screwed code structure, and a flawed system design.
>This is because of a lack of conceptual clarity and integrity in the development process.
>>
>>81453060
My owm
>>
>>81454898
>spent the last day deleting about 100 lines of code without writing a single new one
Feels good
>>
File: why.jpg (1.51 MB, 3024x3483)
1.51 MB
1.51 MB JPG
>>
File: fb.png (320 KB, 1674x1023)
320 KB
320 KB PNG
>>81449705
>>
File: 1543620467371.webm (2.55 MB, 1920x1080)
2.55 MB
2.55 MB WEBM
What a bunch of niggers ITT.
>>
>>81454898
Based. Functionality matters, not how cool your code looks.
>>
>>81456069
is this the AI generated code I keep hearing about?
>>
>>81456382
It is . <end>
>>
Before you ask, the client wanted it in PHP.
>>
>>81456458
>?int
what's this? is it enforcing the int or no?
>>
File: 1590466725408.jpg (114 KB, 1280x960)
114 KB
114 KB JPG
>>
I'm waiting for the penis, /g/
>>
>>81456580
>indecies
>>
>>81456616
it wouldn't be complex code if it were spelt right silly
>>
>>81456458
>?int
Is that a nullable variable in php?
>>
>>81456624
yeah but you spelled it wrong tho, not impressed
>>
File: awooga.jpg (37 KB, 574x574)
37 KB
37 KB JPG
>>81456580
I-Is that you in the reflection???
>>
>>
>>81449716
did OP stutter?
>>
>>81456654
>>81456575
It only allows int, but the parameter is not required.
>>
>>81449705
Nig
>>81450570
Girly
>>81450975
Girly
>>81455989
Girly
>>81456458
Manly. Has done actual manual labor
>>81456580
Hard to tell, looks kinda soft
>>81456764
Skellyboi
>>
>>81449705
give the code back jamal
>>
>>81456764
>int
>>
File: 1620140657632.png (549 KB, 800x530)
549 KB
549 KB PNG
>>81449705
>>
I strive for simplicity. It's wonderful how little code you really need to do complex things if you actually think about what you are doing.
The most recent example of complex code I have is for making sense of data which is needlessly complex itself. I hacked it together a bit too, incrementally fixing issues as they became apparent. It's PoC-level only and horribly inefficient too. A lot of this was because it was an exploratory task, it helps to know where you're going in order to be able to really think it through.
I'm not going to let some random retard here find my github though.
>>
>>81454898
To quote Terry A. Davis, "An idiot admires complexity, a genius appreciates simplicity."
>>
File: 1620142270866.jpg (2.06 MB, 2738x1905)
2.06 MB
2.06 MB JPG
>>81449705
>>
>/g/ - Marfan's Syndrome and Technology
>>
>>81456069
ah yes
>>
>>81456069
>the clangd server crashed five times under three minutes
My sides
>>
>>81450118
lurk 2 years before posting
>>
>>81457301
wtf is that?
>>
File: IMG_20210504_181206.jpg (1.72 MB, 3120x4160)
1.72 MB
1.72 MB JPG
>>81449705
I'm trying to port py-googletrans to c++
>>
File: le pepe.jpg (76 KB, 1024x1024)
76 KB
76 KB JPG
>>81458306
>>
>>81456458
What monitor is that?
>>
>>81450975
>>81456764
>>81457301
>>81457670
point and laugh at the non-programmers
>>
>>81449705
this fuckin' bullshit.
looks like crap, wrote it years ago, don't really understand it, but it works very well.
>>
>>81457984
it appears to have coaxed itself into a snafu
>>
File: subdivide_cubes.jpg (2.54 MB, 4160x3120)
2.54 MB
2.54 MB JPG
>>81459565
forgot pic
>>
>>81456903
you fucking wot
it's the nullable marker
>>
>>81459590
my man what the fuck is that
>>
>>81456580

What's up with that half mitten?
>>
>>81450570
>if
>for
>if
>for
>for
Using loops is bad programming. Stop it.
>>
>>81459635
it's one of those hoodies with a thumb hole
>>
>>81459590
Yo dog you need to fix that, just looking out bro.
>>
>>81459630
it takes a voxel image and splits each of the cubes into 4 points so that they can be rotated without making holes in the sprite.
i don't understand the algorithm by which this occurs but, from what I can gather, my solution seems to be close to mathematically optimal.

>>81459728
idk what needs fixing, might just have been that it was really shit code.
>>
File: IMG_0533.jpg (427 KB, 1512x2016)
427 KB
427 KB JPG
regex generation for this scraper thing I made
>>
>>81457301
>>81459237
Nice try, glowie
>>
Currently writing a DSL for circuit simulation for a compiler.
>>
>>81449705
Get on my lvl faggots
>>
>>81456764
font?
>>
Fuck you.
>>
>>81449705
>you're written
Pls kys
>>
>>81459657
??????
elaborate
>>
>>81459813
Circuit simulation for a compiler?
I had a compilers class but we didnt cover that I think. We did mostly front end stuff.
What is that anon? Something to simplify logical expressions?
>>
>simple if else logic
>filereader
>IO function
Most complex piece of code. HAHAHAHHAHAHAH
Now I know you are codemonkeys.
>>
>>81460083
I wish I could say more, but it's under NDA. It's not your average compiler so you won't find it in a compiler course.
>>
>>81459590
this is disgusting, I'm not even sure what it does either - when do iterations of the around coords not set local_covered to true besides for i = xyz?

one thing you can do to clean it up is replace the triple nested loops with a single loop making a call to a generator yielding the permutations of the coords within the bounds you want, so each iteration is xyz = (0,0,0) then (0,0,1) etc. although if this is performance critical code I would benchmark that - it might get in the way of some loop optimisations or even SIMD patching
>>
>>81459838
modulo instead of &1, division instead of rshift, ngmi
>>
File: 1620152360111.png (590 KB, 800x514)
590 KB
590 KB PNG
>>81459413
>>81459811
anons.. you hurt my feelings
>>
>>81460161
i would probably just define a custom inline map function like:
#[inline(always)]
fn map_3d(f: FnMut(isize, isize, isize), ranges: [isize; 3])

i have bigger problems in that codebase than this one thing desu.
>>
>>81459413
>implying I would dox myself for a meme
>>
>>81460083
anon is building a DSL, domain specific language. the specific domain is 'circuit simulation' so it's likely some just syntax for boolean logic gate type shit to help hardwarefags design things. you have done this in your compilers course just not explicitly - the DSL is the lexer and parser that builds up a type checked AST which the existing compiler anon is working with can traverse to optimize and generate code from - either machine code or in the case of a DSL likely some high level intermediate representation, or even another language like C which can then be fed to a standard compiler. it's just a layer of abstraction that makes writing programs for this specific use case easier, which then has a compiler automatically take that down to real code in a number of various steps. DSL's are very cool and the future of compiler design.
>>
>>81459941
Use filters and regex
>>
>>81456458
How's your liver, anon? You look jaundice
>>
>>81449705
>reading hardware documentations counts as difficult
bruh... come back when you've done something that requires actual conceptual work, bastard bitch
>>
>>81459590
>that hand
what are you, italian?

>>81459763
cuckies first regex engine... lmao
>>
>>81460693
what's wrong with my hand?
and i think my family comes from germany.
>>
>>81460482
>DSL, domain specific language. the specific domain is 'circuit simulation' so it's likely some just syntax for boolean logic gate type shit to help hardwarefags design things. you have done this in your compilers course just not explicitly - the DSL is the lexer and parser
biggest load of horseshit I've ever heard come out from a cuckies mouth, worse than shit like "pls ravage my wife, my penis is too small for her sexual prowess"

a DLS is a DSL a language can't be a "parser and lexer" are you high on street crack? bruh

a DSL isn't the future of compiler design

bruh...

youve got no idea what the fuck youre talking about nigga is you high? bitch
>>
>>81459590
You should maybe stop nesting that deeply and factoring this out into functions.
>>
>>81460729
Idk what he meant with lexer and parser there but he is right about the future of compiler design. I work in this space.
See also https://mlir.llvm.org/
>>
File: IMG_20210504_144946.jpg (2.67 MB, 3000x4000)
2.67 MB
2.67 MB JPG
It's a fuckin mess but I realized my final project was due 6 hours beforehand.
>>
>>81456130
sauce on vid?
>>
>>81458361
that's a lot of magic numbers chief. you tryna cast a spell?
>>
>>81449705
Fuck off, Poojesh
>>
>>81460773
Hey, compiler dev here, I actually haven't used mlir, but from a cursory glance it might be in a similar optimizing design space I'm in.
>>
>>81460805
Yes, the spell for Unlimited Google translate API requests for free
>>
>>81460805
Greater clusterfuck level 3
>>
>>81460912
somehow I don't think bitwise transforms are an essential part of calling an API.
>>
>>81460943
Sounds about like what I'd expect when interfacing with a google product.
>>
>>81457301
>>81459237
>>81460309
Man, I've been trying to get this pepe for the last couple of years, and it's always out of stock. I'm in a lot of pain because of that.
>>
>>81460729
Please stop reddit spacing.
I referred to lexers and parsers to try and bring it to a level the undergrad I was replying to would understand - putting it in the context of the compiler pipeline as a frontend language. Only reason to get mad at this is if you're tryna signal how 'smart' you are, but I'm doing a PhD in DSL's so I promise I know more about this than you.
>>
>>81460943
This is the function for generating a token
>>
>>81461034
Hey, compiler dev dude here, that's really interesting, can you give me a brief description of your thesis subject?
>>
>>81456580
Please tell me what color scheme
>>
>>81461034
>Only reason to get mad at this is if you're tryna signal how 'smart' you are, but I'm doing a PhD in DSL's so I promise I know more about this than you.
I think you're projecting here, mr imaginary PhD. Assuming you're not lying, even if you are pursuing a PhD why are you even mentioning it? Over 6-7 million americans have a PhD. It's nothing. Do you realize how hilarious you sound? We could fill a country the size of France with all the world PhDs.

Lastly, you have no idea what you're talking about. A DSL isn't a parser or a lexer and it isn't even a "new thing" for compilers.

HTML is a DSL. Would you call html a brand new fucking thing that's going to change compilers? How do I know you're not even in a PhD program? Even if you are, you're an arrogant, ignorant pseud that has no future in academia.
>>
>>81461131
No it's not interesting. He's full of shit. He or she. Perhaps he's just a bitch.. a woman?
>>
>>81461131
It's using a DSL for ISA's to build representations in MLIR you can then use to discover novel optimisations targeting that ISA. The idea is to guide a superoptimisation search with some local search to auto-generate the optimisations. The intended use case is novel architectures as they're being developed but if it goes well there's no reason you can't apply this to x86 and reveal new optimisations LLVM/GCC aren't yet using. There's a lot of potential here with vectorisation especially.
>>
>>81461191
>We could fill a country the size of France with all the world PhDs
this is the most based answer i've seen today
>>
>>81461227
https://www.bloomberg.com/opinion/articles/2021-01-04/america-is-pumping-out-too-many-ph-d-s
>>
File: 81b.jpg (41 KB, 680x672)
41 KB
41 KB JPG
>>81460271
This is just retarded, it makes your code harder to read for absolutely no reason as nearly every modern compiler will do such "optimisations" better than you anyways. Adding complexity when there is no need for it just signals everyone you're gigantic insecure faggot
>>
>>81461191
You're getting incredibly hung up over the differentiation between a language as a specification and the tools which actually make that language a reality in software, for reasons I'm really not sure about. Do you not think HTML gets lexed and parsed? I mean ok frontends aren't my area so if there's any other way to build symbolic representations out of text do let me know but I really don't think it's unfair to forgo that detail when trying to bring down the bare basics of a concept to someone new.
>>
>>81450570
Girl fag hands.
>>
>>81461304
what the fuck have you ever seen a girl's hands?
>>
>>81461218
What exactly is MLIR? The webpage isn't very informative (par for the course in llvm)
>>
>>81461360
It goes for the same principle of LLVM IR - middle ground for variety of source languages to get access to a unified set of tools, optimisation passes, etc - but made to be extendable for any level of abstraction, allowing for much more powerful optimsiation in especially DSL's. Tensorflow for instance uses it to represent graph objects and apply optimisations at this higher level before compiling down to LLVM IR. The slides to this presentation do a good job of laying out what purpose it serves: https://llvm.org/devmtg/2019-04/slides/Keynote-ShpeismanLattner-MLIR.pdf
>>
>>81456580
What theme?
>>
>>81461424
Ah, what I'm writing is a modeling language for targeting a circuit for op scheduling. It's quite esoteric, but also a real green field if it works out
>>
>>81461427
standard doom emacs
>>
>>81461295
A language is a language, a lexer, parser and a compiler are different thing. A language is described by the syntax and semantics of it. So, you can have a CFG grammar and some formal semantics, like operational semantics. Why not describe it like that? Because we can have C++, the language, and then we have different compiler projects:

Apple C++. Xcode. It also comes with OS X on the developer tools CD.
Bloodshed Dev-C++. A GCC-based (Mingw) IDE.
Clang C++. A relatively very active development associated with the analysis and code generation framework, LLVM.
Cygwin (GNU C++)
Mentor Graphics - Lite edition. Sourcery CodeBench.
MINGW - "Minimalist GNU for Windows". Another GCC version for Windows including a free (non-GPL) w32api.
GNU CC source
IBM C++ for IBM power, System Z, Bluegene, and Cell.
Intel C++ and many supporting tool
Microsoft Visual C++.
Oracle C++.

Which is going to sound confusing as fuck if someone things that there is "the C++ language". Even though it's kind of simple when someone tells you "you've got syntax, semantics and then you make that shit real by making a compiler or an interpreter, for example".

Source: https://www.stroustrup.com/compilers.html
>>
>>81461504
you're just confirming my suspicion with this that you had no real gripe with what I said other than pointing out technicalities unnecessary to understand the concept at hand to appear smart
>>
>>81461504
>thinks*
>>
>>81450975
cute hand Anon
>>
>>81461553
And you're still projecting. Remember, there are 6 million arrogant PhD losers like you in America alone. Possibly close to a hundred million worldwide. Sad, especially if you're an arrogant bastard with no real future in CS.

And you're confirming my suspicion that you can't even describe what a fucking DSL or compiler is despite having to spend a couple of years to get your PhD, cuckie.
>>
>>81461553
How the fuck can you start a Master's or a PhD and still be an arrogant bastard who thinks a DSL is a parser? My fucking god... bitch... what?

You're just confirming my suspicions that you're a little cuckie that lets his gf/wife do whatever she wants in her free time.
>>
>>81461295
Yeah so you're a little cuckie that thinks he understands compilers even though he's writing some back end piece of shit addon project to LLVM. Come back when you've written a "front end" and dealt with real math you stupid bastard.
>>
>>81461620
>thinks a DSL is a parser
>implying I have not already explained multiple times I knowingly made a simplification to get across a concept
this is just desperate
>>
>>81461295
You're getting hung up over the fact that you're a PhD loser what brags about being one of the 6 million americans (that's assuming you're in the US) who studied their way through a fucking PhD, like it actually matters. You're still easily replaceable, largely inconsequential and completely incompetent at explaining even the basics of what compilers or programming languages are.
>>
>>81461606
>>81461620
>>81461649
>>81461666
I was just having fun but I'm getting legitimately concerned for you now. Are you ok anon?
>>
File: IMG_20210504_223919.jpg (2.71 MB, 4000x3000)
2.71 MB
2.71 MB JPG
>>81449705
>>
>>81460773
>https://mlir.llvm.org/
llvm has been old news since 7 years ago when I finished my fucking bachelors and masters, go crawl back under your rock, apeman


>>81460482
>the DSL is the lexer and parser that builds up a type checked AST which the existing compiler anon is working with can traverse to optimize and generate code from
biggest load of horseshit I've heard, a DSL is a parser and a lexer that builds a type checked AST?

bruh...

damn, too much le internet for today

> it's just a layer of abstraction that makes writing programs for this specific use case easier, which then has a compiler automatically take that down to real code in a number of various steps. DSL's are very cool and the future of compiler design.

woah you mentioned abstractions, woah ,so cool you DEFINITELY sound like you know your shit brudder

>>81460773
you for for the bin company, you mean?

what's next? are you gonna tell me theorem provers are a "new thing" in math just cuz you've heard of them 1 month ago?
>>
>>81461695
I'm concerned about why a PhD babby is so arrogant and ignorant? What kind of future would an arrogant know-it-all PhD moron have in CS when he can't even describe the basics of compilation and think a DSL is a type of lexer and parser? DaFuq,

Bitch what?

Are you ok? You're one in 6 million people in America. You're INCONSEQUENTIAL.
>>
>>81461664
cats out of the bag, cuckie. You said a DLS is a parser and a lexer, which a DSL is NOT. Again, you're a dummie with a PhD, proving his inconsequential nature over and over again, through text. Making his stupidity, a reality, just like how a compiler makes a language a reality. Don't make me mad, or I'll call you a lexer and a parser, bruh.
>>
File: dodges.gif (1.14 MB, 320x239)
1.14 MB
1.14 MB GIF
>responding to a guy who says "cuckie"
>>
>>81461747
>>81461774
>the DSL is the lexer and parser
>the
it looks like anon is talking about a specific DSL, not a general on here.
if it's using llvm, he's more or less right on that front.
>>
>>81461666
>>81461695
>>81461664
>>81461553
>>81461556
>>81461424
>>81461295
>>81461191
>>81461034
>>81460482
>a DSL is a lexer and a parser
>I have a PhD, I'm SOMETHING, I'm SOMEONE, I'm WORTH A LOT, LIKE, A HOLE DEAL
>trust me I'm an EXPERT
>llvm is the future
>DSLs are the future
<insert specific piece of shit technology that a loser wastes 10h of his life each day> is the future, it's gonna change da world!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>
>>81461802
>the syntax and semantics of a language are basically like the same thing it's like C++ yeah like same shit it's like you type someshit and stuff happens
cuckie (him) did has that he has no experience with the front end

bruh, if it were not for the front end you'd be using a dildo for pleasuring yourself rn, instead of working on your stupid little LLVM plugin while your wife cucks you with your arab friend!
>>
>>81461802
>>>81461666
>>>81461695
>>>81461664
>>>81461553
>>>81461556
>>>81461424
>>>81461295
>>>81461191
>>>81461034
>>>81460482
>>81461666
>>81461695
>>81461664
>>81461553
>>81461556
>>81461424
>>81461295
>>81461191
>>81461034
>>81460482
><insert specific piece of shit technology that a loser wastes 10h of his life each day> is the future, it's gonna change da world!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
why are all of you reddit cuckies like this? First, you let your wife suck another man's cock, balls and semen. Second, you believe that your blinkers on mentality and tunnel vision can somehow lead to a comprehensive view of an entire fucking field like Computer Science? So, we've got a bunch of retarded apemen writing plugins for LLVM, imagining themselves to be some kind of Alan Turing's fuckbuddy?
>>
>>81459763
Is golang worth learning?
>>
>>81461829
i think the guy i was defending was arguing with the guy who said that.
though i'm not entirely sure who you're quoting.
either way, i support the guy with the phd, the other one just seems like a whiny bitch with no real points.

>>81461852
>>81461806
congratulations, you replied to everyone.
be sure to take a screenshot of this heated gamer moment and share it with your friends on r/4chan.
>>
>>81461892
golang has no generics. Really says it all
>>
File: 1603523693032.jpg (85 KB, 534x548)
85 KB
85 KB JPG
>>81449705
>those newlines starting with open brackets
>>
>>81461721
Are you a masochist
>>
>>81461906
Looks like your little PhD did pay off in the end. Your PhD allowed you to samefag. Impressive.
I think you are a samefagging cuckie. How the fuck can you waste your life and reach the PhD level, possibly also having done a Master's, while being so fucking brain-dead and arrogant? Like, how do you end up going into a vast field like CS and then, after like 4 or 5 years saying "this is so simple, the future is <insert inconsequential shit number 142312>". Like, I think you need a few punches into your mouth, some phlegm spits and so on. Get it? Cuckie. How's your wife? Tell her I said hi.
>>
File: tiresome.jpg (95 KB, 1280x720)
95 KB
95 KB JPG
>>81461946
>>
File: not_me.png (231 KB, 1920x1080)
231 KB
231 KB PNG
>>81461946
i don't have a phd.
>>
>>81461940
int
main(void)
{
for (int i; i<100; i++) {
printf("The only correct formatting\n");
}
}
>>
>>81461971
When faced with the reality of being an inconsequential, arrogant loser PhD bastard working on a fucking LLVM plugin it's normal to be tired. You're tired of life.
>>
>>81461721
I really like this aesthetic, care to share your setup anon?
>>
>>81461993
You're on a tech board and you think I haven't thought of the idea that you'd use a proxy to prove a point, you said PhD bastard? I mean you're wasting years of your life on a stupid PhD and acting all arrogant just to prove a point to people, it wouldn't surprise me if you'd go as far as using a fucking proxy or rebooting your router.
>>
>>81462018
Sure. It's a generic vim config with :vs or you can also use tmux. Thank me later.
>>81461993
Yeah, not yet. Maybe after 10 years of hard work and sucking a cock.
>>
File: 1607582623756.jpg (46 KB, 900x900)
46 KB
46 KB JPG
>>81462009
my soul has burned away
there is nothing but hatred left
>>
>>81460776
What language is this? Haskell?
>>
>>81462046
i'm 16. you sound like a retard. get some exercise.

>>81461971
you the phd guy?
if so, what does a phd in DSLs entail? it sounds interesting.
>>
>>81462061
I like sucking cock though
>>
>>81462085
looks like it to me.
>>
>>81460776
have you thought about i dont know, wiping your disgusting screen? Doo you take it with you when you piss? Do you have piss stains on it, or what? Wipe it off you piss fucker
>>
>>81462087
I overviewed my project here: >>81461218
>>
>>81462087
nice samefagging, you PhD Phaggot.
you're a fat bastard, my BMI is alright, bitch
>>
>>81462113
who cares? like, really
you pursue a phd to become an ant in the colony, cuz no one cares about your life man. Inhale, exhale. Get it? Processing?
>>
>>81459941
He cant, he read it in a book that didnt explain why.
>>
>>81462113
wow. that sounds both difficult and useful.
good luck on your project anon.
>>
>>81461729
>llvm has been old news since 7 years ago when I finished my fucking bachelors and masters, go crawl back under your rock, apeman
I think you should maybe check your reading comprehension. That project is a year old and is a new compiler developed by Chris Lattner.
>>
File: IMG_20210504_210829_1_1.jpg (1.28 MB, 3000x3387)
1.28 MB
1.28 MB JPG
It's night and I hate light so here's my best
>>
>>81462110
Not him but I have sweaty fingers, typing on the keyboard sometimes that sweat/oil/whatever gets put on the screen when i close the lid.
>>
>>81461945
Maybe a little bit, but OP asked for it yet only received webshitter stuff.
Also I don't actually use the CRT for programming even if I may be a huge CRT fag.

>>81462018
neovim+coc with custom color scheme
stock vanilla st+tmux, font terminux 9px
quite customized dwm running in gentoo
Basically it's the /g/ meme setup that nobody actually seems to use
>>
>>81456580
> length of line going to infinity
> TODO, FIXME
> comments not in own line
> formatting that sucks
you will be filtered in a lot of places I know
>>
>>81461218
Can you be more specific. I am this dude
>>81460773

What kind of ISAs? Do you have a poster? Currently, this sounds like a pajeet tier writeup.
>>
>>81457301
Hi Kermit.
>>
File: crazyterry.jpg (76 KB, 640x480)
76 KB
76 KB JPG
>>81459838
I challenge you to try and figure out how to put that all in one if statement, anon.
>>81449705
For the posters here, if your software is graphical, can we see the results?
>>
>>81462364
I was gonna clean it up before the next commit it's just in a bit of a state right now so haven't bothered
>>
File: lain.jpg (90 KB, 1008x720)
90 KB
90 KB JPG
>>81462387
Sorry not if statement, for loop, just woke up.
>>
>171 posts
>no pic of dick

4chan really is dead.
>>
>>81462381
What do you need elaboration on?
>>
>>81462381
>>81462412
nvm didn't read the last line cus I thought it was a reply to someone else

the idea is that it can work for any arbitrary ISA as specified through the DSL - a big motivation is again aiding production of new processors, so it needs to work on completely unseen input. idk what you mean by if I have a poster
>>
>>81449705
your coding style is acceptable.
>>81450570
your coding style is good.
>>81450975
your coding style sucks.
>>81455989
I don't see enough code to judge, but it probably sucks.
>>81456069
Your coding style sucks.
>>81456458
Good coding style.
>>81456580
Alright coding style.
>>81456764
Your coding style sucks.
>>81457301
Good coding style.
>>81457670
Shit picture quality, good coding style.
>>81458361
Acceptable coding style.
>>81459590
Bad coding style.
>>81459763
Acceptable coding style.
>>81459838
>>81459857
>>81460309
Shit.
>>81460776
Looks like a mess.
>>81461721
Shit.
>>81462009
>>81462250
Acceptable.
>>
>>81462430
I am just curious what space you precisely work in. I am familiar with work on superoptimization such as this one: https://arxiv.org/pdf/1211.0557.pdf
Are you talking about SiFive style circuit design? Is this an ML style project, what conference are you targeting?
>>
>>81462253
that's a sure way of ending up with permanent scratches/stains on your lcd
>>
>>81462584
A closer paper on superoptimisation to my work would be this one: https://arxiv.org/pdf/1711.04422.pdf
>Are you talking about SiFive style circuit design?
The perspective towards the processors is just the same as any industrial standard compiler, ie the ISA's and relevant details on register allocation, cache utilisation, pipelining etc, like you'd find considered with GCC's -mtune flag
>Is this an ML style project
reinforcement learning is being considered to guide the superoptimisation but so is bayesian optimisation and genetic programming, it's early days yet on this front to decide where it'll end up - likely a combination of some kind
>what conference are you targeting?
again it's early days for this
>>
File: 1273922236249.jpg (103 KB, 912x1216)
103 KB
103 KB JPG
>>81449705
ah fuck, pajeets are invading /g/
>>
File: dumbshit.png (1.15 MB, 756x1008)
1.15 MB
1.15 MB PNG
probably the hairiest thing i've most recently written... need to get back into doing fun programming stuff.
>>
>>81462655
so you haven't done shit?
>>
>>81462724
I never said I was far into it just that I was doing it
>>
>>81462655
>Regehr
Neat. I like a lot the work he is involved with.
So the goal of your work is to develop an RL (or other ML) framework that allows for a superoptimization from an arbitrary DSL to an arbitrary ISA? Meaning you have to synthesize both back and front end? Or is this more back end focussed on you use MLIR to generate an IR for you that you then optimize?
>>
>>81460271
There is no reason to use &1 retard. Compilers optimize the modulo anyway
>>
>>81462765
The latter. The DSL specifies an architecture and represents the relevant parts in MLIR, the guided superoptimisation discovers optimisations for that backend, a compiler backend that takes LLVM IR and targets the specified architecture is auto-generated

Again, if the optimisation search step works well enough to out perform humans, there's no reason you can't do this for existing architectures too, but for something like that we're talking maybe a decade of research after the PhD, *if* the PhD yields something good enough to go off of
>>
Does nu-/g/ realize that the government can already extract fingerprints from images?
>>
File: no_hand.jpg (255 KB, 1494x1016)
255 KB
255 KB JPG
Here is some portable serialization code for sockets. Kinda basic in networking standards actually, please raise my standards desu!!!
>>
>>81462808
Cool and exciting work, but pretty difficult. The more generic your aspirations the harder it will be. It would be impressive if you can get this done for even one target architecture.
Also the phrasing threw me off a little. DSLs do not specify anything, they are just DSLs. Only the compiler back end "knows" about a specific target architecture. DSLs are a mechanism to constrain the expressiveness of the programmer and to facilitate program analysis. You can exploit these restrictions for domain-specific optimizations, or maybe, in your case, for back end synthesis.
Anyway, good luck with that work. What conferences does your group usually target? ISCA, ASPLOS, MICRO, OSDI?
>>
>>81462963
Thanks, and yea it's ambitious but I'm lucky enough to be working with some of the best in the field too. I'll keep your suggestions on wording in mind for the future. The main conference we're targeting is HiPEAC.
>>
doesnt fit on one screen
not a nigger so dont need validation
>>
>>81449705
negro
>>
>>81462882
show hand
>>
>>
>>81462110
I take my laptop back to my parent's house when I go, and their house is uhh, quite old. So bugs are attracted to my screen and I squish them and I'm too lazy to clean it because I pretty much just watch videos to fall asleep on it.

>>81462085
Yes it's Haskell

>>81462558
Nigga I told you it's a mess. I wrote it between 4am and 8am the other night
>>
>>81463702
based 1337 hacker
>>
>>81463702
based god hackerman pls dont hack me
>>
>>81456764
What laptop is that? Screen looks great
>>
>>81456580
How do you get rid of tendonitis frens, have been struggling for years now, nothing helps
>>
>>81460309
are you FinTech/WagieCagie bro from /biz/?
>>
>>81459941
Don’t listen to him they’re highly optimized
>>
>>81463584
No
>>
File: 211202.jpg (167 KB, 710x1536)
167 KB
167 KB JPG
programming a cli kind of sucks dick but it's nice when it all comes together
>>
>>81456580
very shitty naming,
bad formatting,
no type hints,
0/10 would not like to work with you
>>
>>81461721
>Coding in gohufont
Irreversibly based
>>
>>81450570
Gay++
>>
>>81450975
probably hipster
>>
>>81449705
based
>>81450570
partially based
>>81450975
based
>>81456458
cringe gesture
>>81456580
good wallpaper
>>81456764
cringe
>>81457301
extraterrestrially based
>>81459590
why indent lines?
>>81459763
btfo jetbrains fag
>>81459857
based
>>81460309
eye candy
>>81460776
^
>>81461721
^
>>81462250
fuck js
>>
>>81456069
finally you passed the coding interview
>>
File: 20210505_104856.jpg (2.52 MB, 4032x1960)
2.52 MB
2.52 MB JPG
Multiple screens anyone?
>>
>>81450570
you got gout or something?
>>
>>81462882
Finally, good code
>>
>>81466994
Nice self-dox.
>>
File: IMG_20210505_063626.jpg (2.01 MB, 1500x2000)
2.01 MB
2.01 MB JPG
Dont bully pls
>>
>>81467320
i fucking love yandere
>>
>>81467216
what you mean?
>>
>>81465975
I don't get to choose the vast majority of names here the LLVM api does
I don't get to choose the formatting either this project is pep80 for everything
There's literally nothing you can give the type of either please stop talking on shit you don't know about
>>
File: 1620059693256.jpg (40 KB, 494x639)
40 KB
40 KB JPG
>>81453400
Niggers can't read. This is a verbose poo that thinks 300 object factories means complex
>>
>>81461892
It's a decent language with very good tooling. People criticize its dependency management but it's basically a central cache which you can just put in a folder and forget about it while you code elsewhere. The community is okay but the docs/tutorial are generally more than sufficient for anything you'll need. It's fast enough to be versatile and overall quite comfy. Not a shill btw

>>81461914
You don't need generics to create high performance backends or prototypes or personal utilities, so you probably never even used the language. That said, they're adding them in the next major version, although i don't know how to feel about the proposal, i don't really like the new syntax/contracts etc
>>
>>81462558
>shit
Jokes on you, I stole that code from the Linux kernel, I don't write real code.
>>
>>81449705
Jamal put the code back where you got it from (someone elses github repository).
>>
File: 1587083149091.jpg (20 KB, 428x424)
20 KB
20 KB JPG
>>81458361
what the fuck am I reading?

t. guy who programmed a tiny bit of python years ago
>>
>>81465460
based.
what does your cli tool do anon
>>
>>81449705
NIGGER
(to my dismay i failed to find some funny picture about negroes. my apologies)
>>
>>81458361
My homework used to look like this
>>
>>81455989
Evafag
>>
>>81449705
I can't even fucking code.



Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.