#quants-n-traders
1 messages Ā· Page 69 of 1
lmafoo same, im so late, i havent taken prob or combo yet either
ur getting it manifest that shit
did u do sig disc day
gotcha
that shits in like july tho
if i fail its fs on me
hopefully I pass the optiver future focus tech
wowww u got time
i missed the boat on that so tough
hoping for sig atp
u got it twin
what would be more important for me to take next sem? combinatorics or prob? I'll eventually take both but as a current soph trying to target a qr internship for next summer what would be more important to learn earlier?
lemme know if you down to clean some rag. šø
guys i was wonering if CS + STAT is better or Mathematical Finance + STAT is better for breaking into quant trader
for bachalor's degree
Doesnāt matter much tbh, but if you donāt have a CS background it would be useful to take a few classes
Skills necessary for trading have so little overlap with any major itās actually pretty funny
i understand now, thank you thank you
Do you have any advice on what types of co-op I should be looking for during my undergrad before doing a quant trading co-op
iam in second-year now, and i've done one machine learning coop last coop term
quant soph program > risk/trading at bank > Faang second year
Prioritize in that order
yea and those are top priority
Also there are definitely more and small quant firms may have internships
all the bank roles so poor tho
thank you!
I wish, just can't fit both in the sched at the moment. I will prob have to self study over this next sem, then take the class I couldn't next fall.
out of curiosity, was wondering what u guys think -- which firms have the best culture (good WLB, dont hire and fire quick).
You not going for tc as an intern just prestige
Unless you in the lower tax bracket and trying to feed your family
In which case you probably wonāt make it in quant
how corny is it to put discovery days/insight weeks in projects/other exp section on res
or is it p normal
I disagree
plenty of quant ppl r j random midwestern/immigrant kids with 3sig math ability
What career isnāt working class then
starting a pe family office
who lied to you
You know there arenāt just dirt poor and ultra wealthy right
??? Bro said average and 80-95 percentile nw
in the same sentence
most people grew up middle/upper middle class, more recently upper middle
while yall here throw me a lil thumbs up/down
Read what I said here, referring to the bottom tax brackets, people who have to work to support family
Is this due to quant just being massive stem nerds which is mainly due to genetics
Is owning real estate working class?
Plus huge immigrants / second generation immigrants
You still have to monitor your tenents and such
is stem iq truly genetic
Unless you outsource mangement
I improved my working memory a lot j with practice
but then again my parents are quite smart
You must struggle at logic puzzles. āYou will likely not succeed if you are poorā != you need to be ultra wealthy to succeed
So Iāve been doomed since i was born
Just buy stocks
Is a CEO working class?
Their income is directly correlated to the quality of their labor
Their equity compensation is directly correlated to certain company targets
a better ceo would get better pay
We also see 0.1x engineers get 400k a year
Labor is more than technical work
Leadership is also a kind of labor
Value creation is based on quality of labor
I agree
Letās postpone this convo
Gotta grind greenbook
yo twin
what chap u on
does anyone here know if its aight to skip the stoch calc part for qt ints?
id be really surprised if they asked that to undergrads unless I indicated somewhere on res that ive used it before
this guy really pulled out the dictionary and went "wait everyone is working actually š¤ "
yea
for sure
like hes not wrong
wait
no thats stupid asf
braindead ass take
i read it as ppl in quant wont make gen wealth
not that ppl w gen wealth dont want to do quant
thats idiotic
ppl w gen wealth already hve the money
is there a newer doc with resources someone has besides whats pinned here
so they want nothing more than prestige
and quant is like hte higest prestige in tech/finance
for what swe?
yea
developer yeah
bruv
all the real deep pockets mfs I know go into pe or vc
agree
if you had generational wealth you'd likely go for a career with high publicity with disregard to income
if you had the talent to do so
oh and provided you're not aut like me
kek
make that money work
this guy dogwhistles
obs not
but the prestige of being able to work at renn and 5rings or 2sig
is def higher than working at a big 4 consulting
or like at a bank
and also thats the prestige
that is flashy
working at a family firm isnt flashy
and thats what these ppl want
im well aware
im surounded by those ppl
ik what they want
im aware gang
ok let me put in this in perpective for you ok
one of my investors chartered me a jet and flew me and my partner out to his office
and withing one meeting
he gave us 5m
were 2 kids mind you
this guy shits money
his kid wants. to work in quant
its not the same
was it your own firm
or was it a big name
no
that actually happened lol
like i get what youre saying but u also forget that theres different kinds of gen wealth
a good ammount of kids born into that want to prove to their peers/themselves
that theyre more than just daddies money
pffft you should visit
and for that they need to get flashy jobs
and theres nothing more flashy in terms of prestige than renn tech
surely that's a banded phenomenon
at first i said a majority but i realizeed i was wrong
like only ppl within [x, y] care about that
so i corrected my self to saying a good ammount
yea but thats the ppl they want to prove themselves to
they dont care about the opnion of random discord user 1235
meh i underestimate human psychology
they care about what their fellow classmates from their swiss boarding school think
me too im a psych major matter fact
i can't tell if this other guy riffing fr or not
yeah fair enough
but there's plenty of prestigious careers that don't require high iq
yea
for sure
but the original argument was that ppl w gen wealth dont wanna be qrs or qds and shit
and i was just stating why i dont think thats true
obs we cant generalize a whole group of ppl
i was just saying that there is a group of ppl who exist who are gen wealth and want to go into quant
and its a sizeable % of the area it self
they're probably less likely to go into quant cuz gen wealth people (outside of academia) don't care about academics nearly as much beyond the "please pass boarding school and get into ivy oxbridge" part
but nuts for brains overhere cant understand someone elses opnions without getting mad and just breaking down
and just assuming everything i say is a lie just for the sake of his argument
i agree with this, idk how significant of a change it is from overall pop of quant eligible people
again i cant generalize a whole group of ppl but theres a good ammount of ppl who do care about academia not just bc of academia itselgf
but bc they want to prove themselves
even if its subconsciously
his family is 700 years descended from some territory in germany
and owns multiple castles
but hes studying engineering to be quirky
the one ik is just like his parents were start up ppl who got a couple hundred mil
and now hes trying to break into quant(he has in fact done it)
oh for new money people it's probably tougher
yea thats just the example of i a friend i personally am close w yk
but like it applies
gotta prove they're not a dud
yea
would you buy one
If I had mad cash i'd lowkey cop a loro piana sweater or something
if it pills im kms though
mfw I drop 10 bands and it pills
End of 4
Hi quants and traders
Does anyone have any good resources on learning cpp outside of watching cppcon or reading the STL
Thanks rift
Yes⦠you are missing quite a bit by being poor.
tour of c++ is pretty good
You donāt actually believe quant is a meritocratic right? The industry is one of the better systems humans have developed for finding merit, but itās nowhere close to perfect.
but otherwise just do c++ projects
Prep is not free
and try to use as many stl/modern features as u can
What does blackstone have to do with anything? We are talking about quant
Thanks void
yes its quite expensive š
they have some shit products tho
They started out as a fabrics manufacturing company
its all marked up a lot obviously and whatnot
But they use some specialty fabrics
And you wonder why I questioned your logic abilities. One industry being insular doesnāt exclude another from also being insular. There are degrees to this and my claim is that if you are not in the top 10% of wealth in the US, succeeding in quant is virtually impossible.
Need cashmere wool sweater desperately
the pricepoint is beyond larp š
Loro piano is just above larp
their better coats are 20k you can't larp lol
Hedge funds are top finance
? My guy that isnāt larping wealth tho
idk a lot of tech executives wear stuff like loro, zegna, brunello
Unfortunately you are going to be a option market maker tuning parameters lol
this can't be serious š
Referral?
You are trolling lmao
my fault I fell for it
Old money doesnāt exist itās purely perception.
Closest thing you get to it is British royalty
Ability to not work doing high school, ability to pay for tutors, ability to invest in top resources, pay for top university.
Yes? Thatās absolutely true
Thatās tier 1 firm bonus vs tier 3 firm bonus
means paycheck to paycheck vs time to study for putnam
Thatās like JS vs IMC š
lemme guess you watched Goodwill Hunting and you think IMO medalists donāt study
200k@500k im ngl he might be trolling
400k @ 300k
Pls make it a bit wider
nw > 1M not even a question
he freudian slips saying average is top 80-90% nw which suggests he lives in a gated community
so maybe less physical assets more index fund type
Work at market maker and invest in their failing strategies
You right old parents = 2 mill ngl
still yes
alright final market 1.8@2.2 mill
Trust fund only a small percentage, I forgot
yea i just assume you arenāt being serious tho
Do you think sports is also meritocratic
yes u can pray to god and be built like wemby
wake up like sung jin woo
the new nba class is like half nepo babies š
200/hr for a D3 coach not even a solid one
Iāll walk into a firm right now and I guarantee you itās mit mit mit harvard stanfors mit mit mit
oh look at that
Another mit
Unc hasnāt applied to college in 30 years or sm
look at the applications of people getting into t10 nowadays itās wild
501c (definitely not parent funded) generating 2 mill revenue
cure for Alzheimerās
Yep but some prep high schools go all out
they got connections to real charities
now you getting it
Oh like tj esque
yea that shit is crazy
One org had 3 ceos
Another actually hired employees and then fired them which is wild
messing w peopleās lives is actually nuts but idk if Iād ever work for a highschooler
atp job market so bad for mid (awful) swes
covid was the golden age for slacking off
3 CEOs
so I could see it
Lmao Iām imagining succession type drama at a highschool 501c, they should make a show about that
Super senior finally graduates to gtech
leaving his 501c ceo spot to 5 new juniors
who will make it into mit? Find out tmr at 10
Just the Office except itās the highschooler 501c
they all working after school
Firms literally donāt even go outside t10 or something
My discord is so bad, messages are loading in wrong order
Leetcode engineers fucking up
Who are you? Kendal Roy
Needed to prevent my siblings from inheriting the family home
I donāt think quant is unreachable for non wealthy and people attending top schools. In fact I think quant is a field that is somewhat of an equalizer since you can prove yourself outside of connections and school prestige.
However at the end of the day being wealthy is a massive advantage. Partially resources but primarily network and information. The vast majority of people who even know what a quant is are going to be pretty wealthy. Most of the extracurriculars and resume items that would help you break into this field are done by primarily wealthy people. Not that average income people canāt do them, but most people in the middle class donāt even know what math contests are. Everyone I know who is wealthy (and interested in this stuff) enroll their kids in every extracurricular with the top network since middle school. Thereās a reason why the greatest correlation of how prestigious a school you attend will be your familyās wealth
i didn't know you could pay for math camps and shi
most are paid
free ones are invite only
The in group in trading is people who heard about it as a career at all
you guys live in a bubble
The most common response from telling the average person you work at any quant/hft is "What is that"
They know what banking and PE is tho
Yea, that was my whole point. The fact that people canāt realize it is just because they still cling to the myth that quant is meritocratic
these hollywood āpoor genius but also never spent time studyingā movies have done immense damage
Which also happens because usaco plat/usamo folks seem to enjoy larping about not having studied ever
Living in the sticks on long island, very flashy
at least read the whole convo gang
i specifically said
that theyre trying to impress the ppl they went to boarding school in swizterland w (just an example)
and not random mfs off the street
i agree that its a bubble and the avg person wont know what it is
i never said they would
i also said that the avg person is not who theyre trying to impress
so yes you are right it is a bubble
but that doesnt take away from my point
why you care so much about this
i dont
i just love talking to people
and disscussing different point of views
also i was very bored
We aren't people we're little nicknames and pictures on a computer
ok mr solipsism
Very nice of you to throw 2s in there
š¤«donāt ruin the moment
im sure they're still plenty fun to work for as swe
fe or be?
choice has been made long since LMAO
yo this is crazy š
reminds me of the yale math guy shooter
if this is what will happen to me I am canceling my tower interview
was overstaying visa, likelihood of deportation and subsequent ban is high
there was more than one? lol
thought it was envy
wonder why his h1b wasnt renewed/he wasnt in gc process if he was top talent
Anyone know how many rounds Optiver has for trading? I got the invite for a second technical round. Is the final after this?
Does meta SWE pass a lot of screens?
drw oa was rough bro
Anyone currently in/done the process for Optiver SWE intern for this summer? Have first technical soon
first 5 were p easy
the tetris one stumped me
i think i j guessed 28
hopefully the bar aint that high for sophs š
rip
I don't think he worked at tower still
Crazy text to receive though that some guy who worked at your company was in a shootout with border patrol
Did he get fired at tower
So many reports seem to not mention anything specific about the girl for some reason
That would explain why his visa expired
shes not dead, I assume her identity is held private
what i didnt even know this was a thing, when did it come out?
govt confirmed that visa was active apparently, so the article is wrong
Idk but his account was already deactivated on slack when I looked and saw this yesterday
Maybe they were just that quick with it
Interesting
i just did the oa like 5 min ago lmao
my b my b i forgot
when did u apply + get OA
applied 2 weeks ago oa yday
ughh I did not know abt this LMAOO noooo
is there a resource that has all of these programs somwhere? Ik abt IMC, SIG, Optiver, and Jane Street but are there any other programs out there?
i wish
the only way I hear abt these things is if someone mentions it in this chat
nobody at my school recruits quant n shit
just gotta wait for launchpad ig
launchpad will save millions
Anyone here done a sys design question for quant swe for intern? Have upcoming interview and have never done a sys design before, do they tend to ask sys design related to the job? like design market data aggregator, a stock exchange, order management system
ion think its expected to know much market specific stuff
but prob good to practice wit dat
ok cool thanks
For the examples you named, know them inside and out
Sounds good
Best case they ask me that tbh
I dont wanna be asked design google docs lol
Thanks for the advice
Most firms that Iāve seen donāt expect much/any financial knowledge from swes
Really from most ppl i talked to, even for swe they need to understand the intracacies of trading systems
At least the software part ig they dont have to fully understand how the strats work
Heās yapping, they donāt explicitly require knowledge of finance but knowing basic order book fundmentals (L1, L2) as well as the engineering requirements of firms (redundancy, latency, etc) goes a long way.
Iāll be interning at a hft firm this summer and I can barely explain how what option is lol
it helps but most good firms will have education in the first week
I have no clue what L1 or L2 mean here, I have no finance domain knowledge whatsoever
abt all that stuff from the ground up
its like order matching priority for a book
is it not that l1 is just bbo
Congrats on akuna
seriously tho thatās huge but how did you dodge those god awful system design q
I just got a lot of in depth c++ questions and general programming system design stuff, nothing about trading
yeah or like ds implementation
It was mostly verbal
oh shit i have drw final too
Thanks
Might have the commit seppuku then the hedge fund I interviewed w asked me order book shit
Damn thatās crazy
ig its very team dependent
nah it was light tbh I watch way too much youtube š
I suck at c++ tho yaāll are cracked
memorizing stl
Sooo much stl trivia yeah
whats a hard one that u got
ngl i think the cherno is good for cpp stuff i like his videos
the funniest thing is people going into python interviews not realizing they ask python trivia
Cython type bs
Nowhere near enough depth but rlly good for getting started yeah
any good textbooks?
or just memorize stl
bjorn strousroup or whatev his name is
I really enjoyed Effective C++ and Effective Modern C++ by Scott Meyers, he has a great writing style
Been using python for a decade never once needed a generator
I think best thing to do is just use the language a lot for non trivial tasks
And youāll naturally run into most important things
Exactly mfs be asking about performant python š
Python trivia sounds crazy
What do you classify as non trivial, anything specifically?
I spend a lot of free time working on my game engine, I use a lot of interesting language features for that
Agreed until I listened to a podcast where the dude was making 40 microsecond trading systems in Java
It was 2012 so early days of hft
Or no maybe 2006? I forgot
2012 was knight capital crash so maybe not early days
If youāve tuned your jvm properly and are using it right you can get performance thatās honestly not far from C++
Thereās a great video on YouTube from a guy talking about low latency Java techniques
love C i code in it regularly but c++ is a huge jump
Yeah thereās a lot more complexity in c++ for sure
Learning best practices (low latency industry standard) seems like a never ending goal
I think you can probably get passable at C++ after working on it for 3 months
Depends how fast you learn ig lol
Not many people get āgoodā during that time in my experience
Like decent
Idk itās all subjective
Different people have different bars for āgoodā
3 months is probably a tight time horizon but i guess itās possible
Arkansas ngl you not wrong to be facing imposter syndrome but Iād say relax and just get started now
You need to work on projs, you canāt get good at writing c++ without writing c++
If you just study it all youāll be good at is trivia
what in 3 months
Fr or joke
Oof late team match
Thats a great guide
This is the face of a mogged
@mint aurora python trivia
apparently python caches integers from -5 to 256
the longer you spend reading up on python trivia the longer you realize this language was a hackathon project that lasted a decade
-5 to -1 for error codes apparently
wild goose chase but there is 0 chance you would ever know this unless you knew random Cython commit history from 2017: https://hg.python.org/cpython/file/tip/Objects/longobject.c#l5343
saw on csmajors or sm and tried it out in my terminal
@lunar thicket when you become an interviewer make sure you frame it as an easy python interview then pull this one out
yeah it's over for me
going down a rabbit hole but this is disgusting: https://www.w3schools.com/python/gloss_python_for_else.asp
haven't morphed it into a problem but basically scroll up to the screenshot of a is b
speak for yourself, lmao
need jump and goto in python
turn it into asm
Something awful like
def func(): ...
for i in range(N):
for j in range(M):
if i > j: goto func
don't ask me why it's useful we just need it
Goated
intern or ft?
Understood
Intern
I've seen this trivia fact being tossed around
its kinda funny
Yea it was on the csmajors reddit so the ngmis have discovered it
The caching details for all different types is still a good trivia q
Even a simple q like how python lists are implemented could serve as an easy filter
tbh i think most trivia questions are kinda bad
like its mostly one-off knowledge that doesn't really matter
the only "good" one that I can come up with off the top of my head is the ones about reassigning lists and whatnot
since you need to understand how python handles references/etc.
AFAIK python is like java where objects are pass-by-pointer, so you need to explicitly copy things when you reassign
when I was 14 I was always wondering why I could do
World w = ...;
w.setBlock(...);
and that would actually work
First half of this sentence is correct, second half Iām not so sure about. Wdym by copy when you reassign?
Like
If you have a list L, in order to copy it you have to do like M = copy.deepcopy(L) rather than M = L
By reassign I meant assigning it to a different variable name
i thought this was like
how ur supposed to do it
lol
its only cpp thats weird
Yes thatās correct, idk where you got reassign from lmao
what quant are still hiring
Bad English ig
Oopsie
Idk I find the other lands weird
*langs
I guess itās cos I view assignment as more of an explicit copy operation vs aliasing
^ agreed, I want full control over whether I pass by value or ref, and by default I want b = a to create a copy of a. Python does a ton of these choices under the hood and without my permission which is why I would never use it for anything serious.
Yes, although the trivia specifically was the fact that python caches integers from -5 to 256
:p
tbh I disagree with how C++ handles it either -- I find the default behaviour more intuitive, but C++'s behaviour is way more inconsistent because the cases of when the different operators are chosen is super unclear
disallowing copying of objects on assignment is the easiest and most consistent way to avoid this issue IMO
I also agree that enterprise Python is a crapshoot, but rather because of the lack of type checking (type hints are not strict, and many old codebases don't have them)
I think the way it defines = is fine
do you have an example for this
I guess for people who are unfamiliar with the language
MyClass obj = otherObj;
Seems like it might call copy assignment operator but it calls copy constructor.
Also initializer lists were such a bad thing to introduce to the language, I truly despise them
I agree that thereās a bit more to learn up front to write good c++ but āinconsistentā definitely isnāt the right word, the choice of which assignment/copy function is called is extremely well defined and once you know the rules you can tell immediately
one off knowledge aint useful
it shouldnt be how is x implemneted
it should be
how would you implement x
why???
its faster
Disagree as long as you mention thereāll be trivia during the interview
nah
Iām not being totally serious but you could also weigh the trivia segment close to 0 but use it to see how candidates react when they donāt know something.
Tc?
Itās not faster if you know how to write a constructor properly
im a university student 
really?
how?
u do it in-place right
interesting ill take a look at this
is the problem with initializer lists fhat u dont like the syntax or u fundamentally disagree with the idea
Just donāt let the members get default initialized
The syntax
so ur against RAII?
What? No
well then how r u gonna destruct garbage
No just write a constructor that takes all the members as arguments and use the member initialization syntax instead of letting them get default initialized and copy assigning them
eh idk
Then thereās no performance difference from an init list
The syntax for initializer lists causes such unreadable code
Exceptionally error prone code
i mean maybe? cpp isnt an elegant language
the alternative u propose would probably break raii
It actually is a lot of the time
No it doesnāt
or introduce more footguns related to raii
I donāt think you know what youāre talking about
i think i do
Iām not talking about adding a language feature
Itās just if you write good constructors then initialzier lists arenāt more performant
I think most of the time it is
idgi, dont u have to do an additional copy if u assign unless u have it be in the like
default value
like youll make a stack version and then copy into the member
ehh
could h provide an example i rly dont get what ur saying
Yes one sec
maybe i am misunderstanding heavily
are you saying we should have a compiler error for when we dont assign a value on ctor
struct MyStruct
{
MemType m1, m2, m3;
// bad, init list will be better:
MyStruct(const MemType& arg1, const MemType& arg2, const MemType& arg3)
{
m1 = arg1; m2 = arg2; m3 = arg3;
}
// good, init list will be same
MyStruct(const MemType& arg1, const MemType& arg2, const MemType& arg3)
: m1(arg1), m2(arg2), m3(arg3) {}
MyStruct(MemType&& arg1, MemType&& arg2, MemType&& arg3)
: m1(std::move(arg1)), m2(std::move(arg2)), m3(std::move(arg3)) {}
}
do you see std::initializer_list<T> anywhere
() : m1() is also called initializer list as well
no its not
oh wait weird
thats not what most people are referencing when they say initializer lists
two diff things
but yeah
this is why i was confused
yeah
this is why i say cpp is not elegant
bcz of BS like this
also coroutinesā¦
these are the worst
i hate these so much
so so so os os o cnuh
much
variadic function list is even stupider
its so fucking ugly
just parameter pack š”
ok not actually
but its still ugly
these are fine
no it is ugly
my issue with initializer lists is that any time braced initialization is used, type deduction says its an initializer list
and i like std::initializer_list for creating a vector sometimes
oh waz
it is usually explicit ctor or smth
weird
- with auto type deduction
not with template type deduction
what do oyu mean
What's a monad
To elaborate on why the type deduction with braced initialization is annoying to me, look at this example:
std::vector vec{other_vec.begin(), other_vec.end()}
What's a mono
Common sense said this copies the other vector, which it would if you used parentheses instead of braces
Lol I was reading this conversation mad confused
But instead it calls the initializer list constructor, and makes a vector of std::vector<std::vector<T>::initializer> objects
Cause that's what I think of when someone says init list
oh ššš
what the fuck
Yeah initializer lists are the worst
u think of the ctor too
yeah
ig u only rly use {} as explicit
bery odd tho
This is nonsense code though
what do you mean by this
Who writes vectors without the type
only use it wuen its only kne parameter
no its not, it could easily be written by someone who doesnt know the language well
and u mark ctor as explicit so jt wont get casted automatically
Why would someone who doesn't know the language well be writing it
thats a language feature so it is intended to be used
why would you ever learn a new language
well cpp is one of those languages not meant for these ppl unfortunately
cpp only real use case rhese days is performance engineering
everyone was one of these people at some point
and it makes the language harder to understand
until today you didn't know this would call the initializer list constructor
What edition of c++ introduced the ability to do this?
I did know that š¤
it is quire odd
17 iirc
but if u reas the standard it sint too confusing
not you, him
actually
or refernexe ig
seems like a weird decision
Curriculums change slowly
Ok, in 10 years maybe they'll learn c++ 17 and by confused by this then
Maybe š
I don't see your point
Just because your school is teaching you old C++ doesn't mean everyone learns old c++
the real villain was actually not specifying the template for vector
My point is that it's dumb to say "This feature is bad and shouldn't have been added" and your reason is a piece of code no one would ever write
if im gonna be honest
You might have thought the type deduction was clear in that case
- first compile would fix this issue
it wouldnt be a compile error
it will when u do antthing with the vector
Are you trying to argue that this was a good design decision?
And it shouldnt call the vector iterator constructor?
or are you just being contrarian
im saying that no one would ever run into this issue
and not have it fixed in like 5 minutes
I additionally think that there are scenarios in which initializer lists are valuable
Ok, can you explain to me the differences between:
using IntMap = std::unordered_map<int, int>;
IntMap mymap({{{0, 0}}});
IntMap mymap{{{0, 0}}};
IntMap mymap({{0, 0}});
IntMap mymap{{0, 0}};
IntMap mymap({0, 0});
Like if you're working with generic code where you can have some unknown number of types
You even have the full type here so the map template arguments arent even being deduced!
should be easy right
This is what braced initialization leads to
Trivia questions?
If you saw all of these next to each other in a codebase are you telling me you would immediately know what the difference between them is?
without braced initialization it would be easy
with braced initialization its hellish
That's why I dont like it
I think bro might be good at cpp trivia
this isnt trivia, this is a question i got from someone who was confused while writign a project
If you think the language would be better without each of these meaning something different (and this is without the type arguments even being deduced) then you agree with me that braced initialization was a bad design choice
i would just compile them and see what it does
waz
ok bro
and also theres just good and bad code
like if u use x feature in a bad way
obv it is bad
obviously
just bcz u can do smth bad doesnt mean u should
They were confused because they wrote these and then forgot why ?
you are just saying truisms like that suppoorts your argument
They didn't know which they should use
what is my argument
I don't know if you have one, thats why i asked earlier if you're just being contrarian and disagreeing with everything i say lol
It is difficult to look at 5 different things where I don't know why anyone would write them and say exactly what they're doing yes
It's not that hard to use them properly when you are writing real code
would you be able to explain what each one does
without referencing the standard
exactly
in my experience ive never run into this
and also irl u have the standard and reference for a reason
Yes but the best way to use it properly is to NOT use it imo, and it is even easier to use it badly than it is to use it well
Go write c++ professionally for a bit then come back and tell me that braced initialization should stay
I have been writing c++ professionally for 3 years
You think braced initialization is on balance good?
not once have I run into an issue where I didn't know what an initialization of something did
i did
i wrote it at citadel
And do you think braced initialization is good?
I don't think it's bad
i like using it for vectors and stuff
And I don't think it would have been added if it didn't have valuable use cases
idt its that bad haha
Plus yes, it makes creating stuff like vectors and arrays in one line possible
That answer is literally applicable to everything in the standard
Do you have any opinions of your own
Not really
The language is a tool which I use to get the job done
I can always manage to get it to do what I want because of the number of options available
I am against the idea that there should be less options because some people somewhere might not use them properly
Given that my coworkers are in my experience competent and do not write trivia question esque code
that cpp coroutines were horribly designed
mhm
trivia is stupid
Anyone who is competent in any language can write good code in that language, there's more to consider when talking about language features than "if someone gets as good as they can get at this will they be able to write good code in it"
Some language features have such limited upside with such easy to run into downside that I don't think they should exist
"Limited upside"
Yes
How should we create a vector with existing members without initializer lists?
Everything is a tradeoff
reserve and push back
jesus
You think we should have to do that just so that people can't write stupid initializations?
Ok variadic templates then
I know you're a removing monkey bars from the playground type guy
Or we can just fix the type deduction rules around braced initialization without removing initializer lists entirely
how about this then
All I'm saying is the way they work right now is not desirable to anyone
maybe
i only use braced init for single parameter ctor
so i have no idea
That use can be trivially replaced
with a regular constructor
it looks cooler
š¤£
but yeah maybe
no idea tbh
i havent seen the upsides
ive inly heard the negatvie part from u (which mostly sounds like a skill issue)
You say you have worked with c++ professionally, if there were valuable upsides you'd think you'd have come across them yourself
no it just means i never used it
not everyone uses cpp coroutines
not everyone uses tmp
How have you never used it, they are integral to the language
not everyone uses a bunch of stuff
idk, ig it wasnt integral enough for me
ššš
Just cause a feature is used when writing compilers and standard library things doesn't mean your average dev needs to use it
And the average dev not needing to use it doesn't make it not important for building low level components
mhm
I build a lot of low level components.
this seems unnecessary
It wasnāt the best suggestion
Iām fine with keeping initializer lists honestly
Just the type deduction rules suck as they are rn
I build a lot of low level components.
I segfault a lot of low level components.
anyone else get 2 sigma freshman swe OA?
Orzā¦
Any idea, what is the future like for a risk developer at hedge fund in these AI times?
How do I avoid checking every process to efficiently find the ones that terminated abnormally? In C. Ik it may be dumb question
Yea I got it a few hrs ago
How ru gonna prepare
Median SWE is probably gone some time in 2026, finance / trading in particular is probably longer because most of those codebases are not public so models will probably be worse than humans for longer. But honestly as a human weāre all in the same boat, and the rising tide comes for us all
how did your interview with them go? i got reached out by them
Rejected
was it for SDE or quant trader?
I don't even remember lmao
i wanna see if job description is same
if median swe is gone and quant swe won't be because codebase isn't public
then quant firm can just train the thing on their codebase
bro AI is so bad at programming
If your job as a programmer is to do really basic functions that an AI can do yes you're fucked otherwise it's nowhere near close enough to worry
qswe will be over too lmao, itās not like AI isnāt trained for low level stuff + internal code at the firms
āLow level stuffā - ask any senior low latency engineer why they make decisions. Or worse, a hardware engineer. Half of the time theyāll give a non-answer like āintuition.ā

Kind of reminds me of AlphaGo where the top go players canāt even explain their logic, so Iām not entirely skeptical.
most thinking is unconscious anyway so unsurprising tbh
*subconscious
Unconscious lol
many codebases are pretty old and don't have those features / integrated
Walking into your firm to find the whole floor asleep
honestly ty for the example this is pretty much exactly what I was trying to think of
Always happy to give random examples of c++ lol
Also if u want a fun exercise try looking at the standard for unordered map constructors and matching these to which constructor it will call
(Even more fun, one of them wonāt compile at all)
on serious note the main point Iām making that either one of two things needs to happen for some of the high-skill engineering disciplines to be automated:
- Thousands of hours of interviews from senior engineers as well as them vocalizing their decisions as they work.
- Agents need to be able to simulate different hardware/cpu states and interact with completely realistic computer environment. (Inspired by alphago simulating Go boards except instead of 361 squares you have a thousand.)
fair enough that it's not actually inconsistent. But I still think that the way the code is layed out is hard to read and error prone -- going back to your example, while it's unambiguous what the line of code means, and ideally the line of code should be well-defined regardless of whether the copy ctor or copy assignment are called, I think mistakes are still possible (and would be a massive headache to debug). I think if I'm working on a code base that is shared across many people, I'd like the language itself to have minimal footguns so I don't have to go around plugging peoples silly mistakes (and vice versa for my mistakes). While a more restrictive language makes code harder to write in the short term, I think it's avoiding pain in the long term.
I think C++ doesn't make it clearly visible which choice is made (even though it is consistent)
š
thank god for library writers that will define all of the ctor variants so I don't have to lololol
bruh when will drw reachout
Tbf most of the time your copy constructor and copy assignment operator are functionally equivalent, you donāt really need to think about which is being called in that example (and you can just be happy the compiler knows to link the constructor so you can avoid an unnecessary copy), but yes I agree that that there are some footguns in c++ like braced initialization stuff that the language would be better without
They already finalized intern class for this summer
discover drw
Also if youāre just using the language casually and your classes just have members that are built in types/types made with raii principles by someone else then you can just trust that the compiler generated ctors/assingment operators will work without even having to define them yourself
yeah casually I don't think there's any problem with C++
I only really used it for CP before internships lol
though arguably almost every language is fine to use casually
fair enough. I wonder if there's a case where someone made a bug in the copy ctor but not the copy assignment, or something like that
I feel like I can definitely forsee people missing one case of the ctor and forgetting about it until later on
like sure it's skill issue but I've seen people make silly mistakes even at big tech firms like nvidia
and also really jank codebases at shaw (though not in C++)
Thereās this whole thing called the rule of 3 and rule of 5 that says which functions the compiler will generate based on which ones you manually defined (not sure if thatās what youāre talking about) https://en.cppreference.com/w/cpp/language/rule_of_three
Itās essentially this
ye
Yeah honestly one of the hardest things to do when Iām making a large project is make sure all my ctors and assignment operators are done correctly lol
I still find it unnecessarily janky though, since it's something that's very C++ specific (and so you really need to be locked into the system to know it), and idk if I trust people knowing it off the top of their head when it's necessary
Especially when classes manage resources that are stored on the gpu
I don't think you end up declaring new classes very often either

i rmb learning rule of 5 in OOP class and then promptly forgetting it like a year later lol
I remember most of it but I think you really need ti locked in to be effective
I think u go through phases of declaring a ton of classroom then not many
Then a ton more again
Lmao
But yeah for things where you have a class managing some buffer on the gpu you really want the ability to manually define move/copy ctors and have the behavior be different
I can confirm based on the last week of work Iāve been doing lmao
I hate that language so much
blobspin
i tried doing some programming problems in rust for fun and it got too frustrating at points tbh
Itās just too idealistic and you end up needing to do everything in unsafe blocks, especially when you need interop with c (which you almost always do, because all mecessary third party libraries have c apis)
mmm right
tbh mostly I think I just wish C++ had a syntax change to be more clear on when something is a move/copy/etc.
but honestly outside of CP the only experience w c++ I have is from internships so I don't have much to say off the top of my head
I wish it was less clear (crying in std::move rn)
Internships/jobs is probably the best c++ experience you can get tho because u see whatās useful in real life
š„ŗ
most of the C++ I write just feels like glorified OOP code with extra steps tho LMAO
and every once in a while i get slapped by some os-specific detail and shit myself
yeah std::move is jank as hell syntax-wise
needa sleep so will log off for now but ill reply to stuff in the morning :p
C++ is used for OOP most of the time tbf, it has a lot of nice features in its classes
Gn!
deadline was 1/22
it also just has more modern features like smart pointers etc
yeah, rust is not the best for performance bobbing imo
the guy i work on rs with thinks that D is goated
he did contribute to the project so ig thats part of why
idt one codebase is enough here, itās not just āsee one codebase, know everything about it,ā you need a lot of high quality examples
I dunno, perhaps you are a much stronger programmer than me but AI can do ~80% of my job already and this number is increasing
Feels more likely to me that youāre just not using the tools that are out there / using them properly
- OpenAI is literally paying PhD students to do nothing except label training data 2) OpenAI operator is pretty clearly trained using reinforcement learning on a realistic computer environment
idk personal opinion but if an AI become good enough to replace regular swe it'll prob get good enough quickly enough to replace quant swe
high quality examples aren't enough to replace regular swes also is why I said that. once an AI become good enough to learn on its own through trial and error with reinforcement learning rather than relying on high quality examples that's when it will be good enough to replace regular swe
and once it becomes good enough to learn on its own through reinforcement learning then it can also replace quant swe
but who knows
Neither of those apply to what I was talking about though. Top industry professionals gained their expertise through hours of experimentation and watching entire product cycles. Operator is not simulating cpu internals itās interacting with a browser.
The problem with low latency is that it has low training data and at the same time requires more reasoning.
you donāt simulate CPU internals either, but you interact with an interface that lets you interact with them under the hood. browser / no browser doesnāt matter, youāre letting an LLM use a computer
phd students / top industry professional is all the same stuff, the point is youāre paying smart humans for reasoning traces
why do you think high quality examples are not enough?
āall the same stuffā no and Iām almost convinced you are baiting. The gap between a grad student and an industry veteran is enormous.
RL is pretty dogshit, like you end up wasting a ton of compute on exploration, you want to do SL if you can
not really?
and like even if we disagree on this, scaling labs are still paying money for high quality reasoning traces from specialized people
who the scaling labs pay money isnāt really that relevant?
like if they think they get more bang from their buck from people in industry Iām sure they would
I was offering a solution as to how OpenAI could train a model to perform low latency/hardware engineering. The options are you either collect enough training data, even the intuitive parts that veterans donāt share, or you try to discover these on your own. That requires simulating internal hardware. Maybe an argument could be made that all you need are profiling tools, in which case Iād agree for some low latency work.
I think all you need is something like operator just with a full OS?
It depends on how much you believe in RL
Not really a good assumption, the number of grad student compared to industry veterans is incredible. The reality is that PhDs will certainly help in some areas but I doubt it will be enough.
What is an industry veteran?
Like would you consider an L5 at Google an industry veteran
Someone who has consistent and lengthy experience in the field of low latency/chip design.
Iām specifically talking about this field and not all software.
Sure I mean like itās a subset of software that happens to have less training data
compared to a browser this requires exponentially more compute to run through simulations. When you factor in non determinism and a constantly changing landscape, itās really a different problem.
I donāt think low latency programming is particularly hard compared to regular programming
i just don't think it is
Yea I disagree, itās one of those fields where the ātraining dataā for humans is largely experimental.
profiling non deterministic data sucks
but yea I would say getting efficient os simulations should be a #1 priority to achieve a low latency agent
you funny
do me a favor and connect w an intel manager on linkedin, just repeat what you said to them
they've needed a good laugh recently
programming is only as hard as you make it
if you push yourself eventually you will reach tue same difficulty regardless of what you put your pts into
eh i dont really see programming as some skill that you have to hone to the limit, there's diminishing returns to everything so you just hone it to the extent that its a good decision economically
i think the point where it stops being a good decision is before you start doing the actually insane / difficult shit
maybe, but eventually youll find other routes to increase benefit
ah are you referring to me or someone else above?
why cant the agent just run their code and profile it like ppl do rn?
or do u mean like at the hardware level
yea i agree w u, i didnāt mean rn rn but def in 5-6 years
No I meant rift
That is also a possible solution, yes. But the key here is that we shifted from āthis ai can be trained to be a good engineerā to āthis agent needs to explore its domain by profiling.ā
but its an agent right
The reason I suggested simulating the OS/cpu is because understanding the hardware/kernel level is a far more difficult thing than C++ code generation
the pt if y give it the ability yto interact with stuff
The reason weāve been able to scale LLMs so well is because we arenāt simulating dialogue, we converted it to a simpler task: token completion
hm. ig maybe if u have custom fpga setup itll be harder.
The number one challenge facing ML today is making efficient, parallelizable, and realistic simulations. Do that and everything I said is wrong.
(And we usher in a new era of robotics, chip design, physics research, etc.)
Wdym
not my domain
i imagine perf engineering would be p easy
but if u have custom hardware the llm wont be able to work w/ it as easy
since it doesnt understand the hw
i imagine ppl will figure out how tk make it workt jo
or maybe AI will
š¤£
Well the point Iām trying to make there is that humans also have to do their own simulations, and Iām not convinced an agent can simulate low level better than humans yet.
oh yeah
well it cant
bcz otherwise we wouldnt have low level engineers
its more abt is it realistic given what weve seen aand future progress imo
Funny thought is that an Ai engineer would profile at about the same speed as a human
because if you could simulate the entire OS faster weād just use that OS š
it could probably generate more prototypes than a human could tho
so itd be able to profile in parallel
wait actually holy joever
maybe AI will be better at this stuff than frotnend dev
holy moly
guys its over
u do realize the answer to that is highly dependent on ur interests and goals right
max dama's blog is infamous now
like making urself the chad wojak
yo
noobie here but can someone without stat/math concentration get into quant within just one year by just spamming codeforces
or is there more to that
For SWE? not probable unless you have strong prev exp and assuming you are a CS major
ye assuming cs lol
like I dont have stat or math minor at all just pure cs
how long is this book
are you at a good school CS wise? Do you have prev exp? Are you starting from 0 codeforces/leetcode exp?
t20
junior but doing masters
oh then its possible
hmm ok
what's roadmap
do you have any prev intern exp?
yea
its definetly possble


