« first day (2515 days earlier)      last day (2659 days later) » 
00:00 - 13:0013:00 - 00:00

00:32
@Mikhail Looks like he also just wants everybody to report through the IDE.
lol
00:45
By the way @JerryCoffin, I saw your quora post for C++ vs. Java speed and the name seemed familiar. Took me a while to realize it was you :) great answer btw.
01:25
@OneRaynyDay Have to admit, I don't really remember what I said (I haven't paid much attention to Quora for a few years now).
Omg jerry got another stalker :p
@JerryCoffin All I remember was you said something about java taking much more memory than C++, and to have the same performance as C++ is unreasonable given that the memory requirement would be much higher :P
and yup, I know where Jerry lives, and his blood type
idk what other things do standard stalkers know?
@OneRaynyDay I suppose I should probably know things like that--I guess it'd be useful if I got seriously hurt...
> I suppose I should probably know things like that...

you don't know where you live?
How much memory c++ takes compare to java depends a lot on the skill of the c++ programmer ...
Me & Jerry r hobos
01:41
@OneRaynyDay Hmm...I get confused about which overpass to sleep under. When I park my shopping cart under the wrong one, some of my stuff gets stolen.
But...the other one stays a bit warmer during the freezing San Diego winters...
I'm guessing you do most of your development on the san diego public library computers?
user406009
@Telkitty The very nature of garbage collection means you usually need more RAM for Java.
user406009
(Assuming you are using mark and sweep, which is the only sane way to do garbage collection)
02:00
@OneRaynyDay Nah--I have my own computer. You'd be amazed at how good of a machine you can find in a dumpster if you're patient about it.
@Lalaland Some would argue about what's the best way to do GC, but almost regardless of the method, essentially anything (other than reference counting) is going to take a lot of memory if you want decent performance. Most do copying collectors, which depend (heavily) on running the GC rarely enough that almost all objects are dead by the time the GC runs.
@JerryCoffin idk, haven't been getting any luck finding GTX 1080's in the dumpster lately
@OneRaynyDay 1080, no--but a pair of 680's can still do a decent job.
02:34
@JerryCoffin fair :)
 
2 hours later…
04:51
@Lalaland but a newbie c++ programmer may never do delete on any memory created on the heap
 
2 hours later…
07:00
just get to 65K rep (from your current 65) and this would be the accepted answer (waves to the cargo-cult crowds) :) — mlvljr Oct 31 '16 at 16:55
Wat. No.
@mlvljr Nobody passes std::string const*. And that diagram is unintelligible. @ n.caillou: Your own comment is already more accurate than the answer. That makes string_view more than "fancy char const*" - it's really quite obvious. — sehe 1 min ago
@Lalaland On the other hand, by default new is a lot faster in Java than in C++, but of course you can optimize with custom memory pools etc.
nwp
nwp
08:01
I feel like a web devops scale master now. (Re-)installing gigabytes of Qt and gcc7 for every single commit is not a waste at all!
08:21
dockerize that shit
nwp
nwp
Travis already does that. I expected they would cache some stuff but they seem to actually reinstall everything every time.
08:37
So. dockerize more shit
nwp
nwp
I did consider installing debian inside travis' docker image because it is much easier to get a recent version of Qt and gcc.
Also I'm horrified that the only proper way to install recent versions of packages on Ubuntu is giving root access to random people on the internet.
Doesn't matter so much for travis because they just throw the image away afterwards, but some people use ubuntu like a real OS.
> The only other programming language in common use that is capable of doing this is Objective C but it has the unfortunate downside of being Objective C.
08:59
@fredoverflow The allocation itself is typically faster, that's true. That doesn't accurately reflect the overall cost of the object(s) allocated though. In C++ you typically pay most of the cost at allocation time, and the rest at deletion time. In Java you pay every time the GC runs, and the object remains in use. This difference in distribution leads to a lot of statements that are technically true in themselves, but extremely misleading (even at very best).
@nwp you're not forced to give full root access to allow packages to be installed. you can have sudo allow some programs without even prompting passwords. But access will be limited to say "apt-get install"
if you put in the work then allocation in C++ can be nearly free
@ratchetfreak Yes, it can be (especially for a class-specific allocator).
@JerryCoffin also, as far as I remember, the jvm will lock threads during a GC
On my Linux laptop I did some benchmarking and turns out typical cost of malloc is around 50ns (with occasional severe outliers). That's cheaper that I thought.
09:03
@LoïcFaure-Lacroix there are ways to avoid the "stop the world" phase in GC or minimize it but they usually require cooperation from the running threads
@nwp, well unless you run QT as root, installing the packages won't grant root access to qt.
@LoïcFaure-Lacroix That depends on the JVM you're talking about (there's more than one) and sometimes on how you configure it as well. Just for example, JRockit has a concurrent collector (i.e., one that doesn't have to lock threads). But, unless you have fairly specific hardware support, concurrent collection adds quite a bit more overhead overall to eliminate stopping the other threads.
@JerryCoffin I'm certainly not aware of all VM designs but stop the world is a thing that could happen and be noticeable if you run the GC rarely on a vm that does that.
nwp
nwp
@LoïcFaure-Lacroix It gives root access to Stephan Binner, whoever that is.
you mean the packages install a new user with root access?
nwp
nwp
09:08
@LoïcFaure-Lacroix No, I mean the script that that guy uploads gets executed with root privileges on my machine. Well, travis' machine.
@LoïcFaure-Lacroix I didn't understand that. Are you talking about fakeroot installs or that root bit thing that allows executing under root without the user having to be root?
@LoïcFaure-Lacroix Yes--not only can happen, but is what will happen by default with most JVMs.
it's real root, it's just that you can configure sudoers file to limit root access to some programs. That said if those program can start other process they'll be started with the same accesses
Not sure why you gave root access to some random guy?
nwp
nwp
@LoïcFaure-Lacroix Because it seems to be the only way to install Qt 5.9 on ubuntu 14.04.
certainly not
give read/write access to the folder he'll install and that'S going to work just fine
you could let say create a folder in /opt/qt with access for this user, and I guess he'll have to configure something like PREFIX=/opt/qt to install there and hope install scripts do actually install there and not anywhere else
nwp
nwp
I don't know how to turn sudo apt-get install -qq qt59base into "give folder access and install there".
09:14
if he does that with apt-get install then just give root access to apt-get install
you can even add sudo access to "apt-get install -qq qt59base" only
but doesn't that allow the install script to launch new processes with root access?
nwp
nwp
I did that with sudo. And then apt will run the install script written by some guy with root rights.
I didn't realize how different debian and ubuntu are.
ah then if that runs an install script within apt-get I don't know
I thought it was a script run by travis
@nwp well in that case, apt-get / yum whatever does that all the time. The problem is more that you're installing it with apt-get than allowing him to do "make install" which would install something in an isolated folder
nwp
nwp
I mean on travis it's a non-issue since the worst thing they can do to me is return incorrect test results. But as an actual ubuntu user I'd be screwed. Or I guess you could just stay with Qt 5.5 and gcc 5.4.
Travis install dependencies in the host os?
09:20
@JerryCoffin imho the simplification and safety of GC is worth the small cost in the vast majority of cases.
@JerryCoffin I remember when in school we used Oracle Jdeveloper and had to click on the tiny "run gc" button manually to keep the computer running fast.
@LoïcFaure-Lacroix Remember turbo buttons? :)
nwp
nwp
@LoïcFaure-Lacroix The stuff gets installed through a script that travis runs. I don't really know what travis does. It has a minimal installation + some basic packages to make add-apt-repository work.
We had those, I also remember the clock speed was lighted on the computer case
@JerryCoffin Many memory-related performance problems will disappear when/if Java 10 (11? 12?) will incorporate value types.
09:25
@nwp Usually I'd expect things installed by CI to be installed somewhere else... I mean this way you can clearly break your OS... It might not happen but sometimes dependency conflict can erase a lot of things.
@LoïcFaure-Lacroix My first displayed clock speed was 33 MHz, what about yours?
@fredoverflow I don't find it a real simplification for most code I write, but perhaps that's just me. In reality, as I see it, GC is itself mostly an attempt at optimization to make what's logically a copy happen really cheaply (both in terms of speed and memory usage). Unfortunately, in most cases it actually increases both time and memory usage...
Something like that, I don't remember, 33mhz and 56/66mhz?
@JerryCoffin Yeah, it's a bit like GC languages had move semantics for free, but not really :)
user1326628
is there any way to report or get rid of the government spying?
nwp
nwp
09:28
@kkkkk Report to the government so they don't need to bother spying.
@kkkkk You can report it if you want. Unless you have something in the way of real evidence, most people will think "conspiracy theory" if you do though.
user1326628
i have no proof they always say that i have no clue to prove that
user1326628
that's what they say
user1326628
i am clueless and they are watching and reading this right now
@kkkkk Ask them how do they know you have no clue!
09:30
@kkkkk uninstall Windows 10
user1326628
they see somehow
user1326628
and everywhere
user1326628
nothing to do with os
@nwp Alternatively, become part of the government and spy on others!
user1326628
i need a way to stop them
09:32
@fredoverflow maybe he's already part of it and spying on us
user1326628
i am not
can you prove it!
user1326628
why would i do that
user1326628
i am looking for a way to get rid of them
user1326628
they stay anonymously and talk to people
09:34
How not to get spied upon, lesson 1: Don't post in public chat rooms
@kkkkk Depends on what you mean by "they". There probably isn't a person assigned to read what's posted here. The main prevention from doing so isn't any sort of respect for privacy though. Rather, it's a simple matter of money--there's just no point in wasting the money for somebody to read what's mostly drivel anyway. At most, there might be a machine running some sort of machine learning algorithm trying to detect when/if we say something "interesting".
nwp
nwp
@kkkkk There is only one way to be sure.
@nwp I bet the cat is a spy.
user1326628
these are individuals
user1326628
they have access to government tools whatever they are can spy on anybody and everywhere
09:36
@nwp There are actually many possible ways. For example, you could decline to have a cat rather than giving it a tinfoil aluminium foil hat.
user1326628
can even see inside of your body
@kkkkk I bet they need programmers for those government tools. Why don't you apply and go undercover?
user1326628
probably they are using satellite technology
user1326628
anyway it seems nobody have information about it
@kkkkk At least you're not a flat earther (they don't believe in satellites).
09:41
@kkkkk I'm pretty sure there is information available. For better or worse, however, there's also a lot of conspiracy theory with little or no factual support--and the real gets mixed with fantasy so freely that it's essentially impossible to guess what's which.
user1326628
government abuse power
@JerryCoffin oh now, you really think governments can work out how to cobble together a machine learning system? They can't even sort out a simple DB for medical records
@nwp You post like you don't have a tin foil hat :\
@fredoverflow no they do, but they are hanging on wires from a very high ceiling
nwp
nwp
@thecoshman I don't. Because I know the truth.
@nwp the tinfoil isn't to block mind control, it's the be shiny and stop the cameras taking your picutre
oh on, I've said too much
Tinfoil hats are not sufficient, you have to cover your entire head:
09:48
FYI when wearing a tin foil hat and using a cell phone you are actually amplifying the signals from your phone straight into your brain
@thecoshman Different parts of different governments. The NSA (for one example) hires enough PhD mathematicians that they can hardly avoid having quite a few really smart people.
It would be a better idea to wear a farraday cage and have it connected to gound at all time.
@LoïcFaure-Lacroix and very stylish to wear full medieval plate armour :D
@LoïcFaure-Lacroix My yoga instructor seemed to think I was already doing that--said I was "well grounded".
09:51
@LoïcFaure-Lacroix So can caged animals not be spied upon by the government?
@LoïcFaure-Lacroix The proper term (IMO) is "Franklin cage".
@fredoverflow if they're doing it with electro magnetic signals then may be it helps.
@JerryCoffin The guy with the kite?
@fredoverflow The very same. He demonstrated the effect before Farraday did, showing that an electrical charge from lightning didn't affect a detector inside a grounded metal can.
@JerryCoffin it's also very much like "Fucking Cage"
09:58
so my df world is generating
@BartekBanachewicz Do you use the classic text ui or something more graphically advanced?
@thecoshman I guess Alice Kim would know more about that than I do.
> Your video is 50 billion times better than the 12 other tutorial videos I have watched on this game. Do you know why? Because you don't ramble on for 12 fucking hours on the minor details a new person doesn't give a shit about. I ran into one video so fucking horrible I signed in just to downvote the shit out of it. For you, this video was so good I signed in just to upvote it.
Hm, maybe I should watch that...
> The singleton pattern is not outdated. I literally just wrote a singleton the other day.
@sehe By that standard, Windows XP isn't outdated either...
10:12
ikr
@fredoverflow right now vanilla
@fredoverflow I found the wiki tutorial very good
it's not a video, but I like this better since I could just read at my own pace
you need some imagination to understand how the first fortress should be laid out but you need it anyway
also I didn't use the mouse at all
Is DF open source?
user784668
@fredoverflow The coreutils one is.
@fredoverflow no
I would probably have more fun reading the source code than playing the game :)
10:35
@sehe I took down the server and changed the DNS to point elsewhere, but I haven't put the site back up elsewhere.
@JohannesSchaub-litb I don't see how 666MHz matters. A clock is an instrument that tells time, and the default clock on your machine can only tell instants that are about 1 microsecond apart.
@BartekBanachewicz Sometimes I cry.
user784668
@Mysticial is the component stress test the right thing to choose if I want to test RAM stability using y-cruncher?
10:52
Hi ^^
Joe
Joe
Hi
the us dollar is close to collapse
warning ,, do not buy it ,, just sell your dollars before the hyperinflation in usa
buy gold and silver instead
user784668
@Joe lol wat
Joe
Joe
@Fanael its true dude
You've been saying that for months.
Joe
Joe
it is weakening every day bro
@littlepootis
10:57
Who's buying dollars anyway?
Joe
Joe
compare dollar to other currencies ,, dollar is down since dec 2016
some people unfortunatly do that
user784668
@Morwenn I bought Zimbabwean dollars the other day!
Joe
Joe
hahahaa
user784668
I'm now a billionaire!
Joe
Joe
yes
10:58
Haha :D
Joe
Joe
hahaha
Xeo
Xeo
if only that meme wasn't dead because they aren't accepted or legal tender anymore
Joe
Joe
us GDP is 18.5 T while its debt is close to 20 T ... the hyperinflation is very close to them
user784668
@Xeo Memes don't die, they become zombies.
user784668
@Joe So what?
Joe
Joe
11:00
hyperinflation : the dollar is worthless like zim dollar
@Fanael
user784668
@Joe Dude, it's money.
user784668
It's inherently worthless.
Joe
Joe
yes but I mean if you have dollars so change them to gold or silver or euro even rothchild family did so in the past 8 months
@Fanael
user784668
Why the fuck would I have dollars? I don't live in the land of the non-free.
Joe
Joe
that is better
11:03
How's life in Stallman's basement?
Joe
Joe
I hope every body get rid of dollar as quick as possible
@Joe lol
Really? 6% deficit is going to sink the US?
user784668
@R.MartinhoFernandes No, but global warming is.
debt is only an issue when the creditors are calling to collect
if they never do then it's a gift
Joe
Joe
@R.MartinhoFernandes there is no way that us gov can pay its debt to the world and banks of rothchild family... it is impossible,, they must decease dollar value to pay the debt
11:09
Heyyo again!
Joe
Joe
hi man
depends on which valuta the debt is defined as
I should probably head over to the C++ Questions/Answers chat, tbh
Joe
Joe
debt in us dollar it is close to 20 Tri dollars
@Joe if the agreement is € 10b then devaluing the dollar will do nothing
11:10
who cares about US debt anyway?
Joe
Joe
@ratchetfreak the agreement is in us dollar
@Joe it doesn't have to be paid at once.
@Joe I doubt every agreement is in usdollar
Joe
Joe
@R.MartinhoFernandes true ,, but the debt is inceasing with almost 450 Mill dollars each year..
interest rate
I don't give a fuck, which might somehow be related to the fact that I'm asexual.
11:13
@Joe 450M is 0.00225% of the debt.
user784668
@Morwenn How do you tell someone is asexual?
OTOH GDP is growing at 1.6% a year.
@Fanael Ask them.
user784668
@Morwenn Why? They'll tell you.
You're just throwing around random large numbers without any sense of scale.
11:14
@Fanael If only for the joke :p
Joe
Joe
@R.MartinhoFernandes I meant milliard dollars
> If only for the joke
@Joe it's called "billion"
Joe
Joe
@login_not_failed true ,, it is even called milliard ... milliard == billion
11:16
and just to clarify: no one fucking cares about US debt; case closed
@Joe How much of those 20T do they owe to this rothchild family?
Joe
Joe
@login_not_failed I meant that every body must get rid of us dollar and not buy it anymore
@Joe it would hardly change anything
user784668
@Joe I'm going to buy ALL THE DOLLARS just to spite you.
@Joe Do you even finance bro? /cc @AdebayoAdelabu
Joe
Joe
11:18
@R.MartinhoFernandes billions of dollar becasue rothchild gave much money to us gov after 2008 .. and the money is inceasing every day because of interest rate
@Joe And why can't that one be paid?
Joe
Joe
@Rerito I know about finance ,, not prof but I do understand it
user784668
@R.MartinhoFernandes Because it's a yuge bigly debt. The best debt.
@Joe What you're writing strongly suggests otherwise
What's special about those meager billions that they owe to this particular family?
Joe
Joe
11:20
@R.MartinhoFernandes us GDP less than debt and us economy is waekening becasue of alot of factors for example unemployment is inceasing
@Joe GDP is much more than those billions they owe this rothchild family. I don't see why they can't pay it.
Joe
Joe
@Rerito but gold or silver and get rid of dollar
Buy food. It's more edible than gold and silver.
3
Joe
Joe
@R.MartinhoFernandes yes but u have china japan eur countries and others want their money too
Have you read about Japan's debt?
Joe
Joe
11:22
no
@Rerito Not a problem, it's mostly owned by yakuzas who don't want to see their country collapse :p
user784668
@Rerito Their debt is what, 2 animes?
Joe
Joe
but japan own us alot of money
@Morwenn Well it's over 250% of their GDP IIRC
But yeah its owned by japanese themselves mostly
@Rerito But it's still in the country, owned by people who don't want to leave the country, so...
Joe
Joe
11:24
japanese love their contry and will not let it down
and will work themselves to death for it
and americans do not love their country?
@Rerito And the US debt is owned by Americans mostly
@Rerito they're inherently evil :D so of course not, amirite?
Joe
Joe
but china and other countries do not like usa ,, that is why they will do what ever to get their money even if us collapse ,, it is not a big deal for them
11:25
Anyway, if debt were a problem, I'ld rather not put it in the hands of someone who advise to "get rid of usd, buy gold and silver!"
Joe
Joe
do what you want
I bet this guy is from post USSR, re-telling all of the usual russki propaganda to others
Joe
Joe
us dollar is wakening every day ,, its value decease while gold incease
who cares?
Plenty of currencies are weakening every day.
It just happens.
Joe
Joe
11:27
@login_not_failed not at all
I'ld say this suggests otherwise
@Rerito Er, no, it is as he says. The conclusions may be complete bollocks, but at least this is factually correct.
@R.MartinhoFernandes Depends a lot on the time frame
He said above since December 2016.
Oh I hadn't read that
11:31
Anyway, it seems I won't be getting the antisemitic bits out of him, so no kicking :(
in C++ Questions and Answers, 10 secs ago, by sehe
@Xariez It's the staple of C coding: *c++
user784668
@R.MartinhoFernandes You wanted him to rant how it's the (((jews'))) fault?
@Fanael He brought up the debt "to the world and the rothchild family".
user784668
@R.MartinhoFernandes That's insane, everyone knows it's because of Martians.
That's usually a (((NWO))) red flag.
user784668
11:35
@R.MartinhoFernandes I'm illuminati btw
Added parens to distinguish from other kinds of NWO.
Joe
Joe
rothchild family is the richest family in the world ,, that is true ... it does not have to do with jews... what are u talking about? we talked about econmy and you mention jews? are you kidding me? @R.MartinhoFernandes
we talk about us dollar collapse ,, why you include jews in debait?
very strange
@Joe we've got to get to WWII and Hitler eventually
user784668
@ratchetfreak (((Hitler)))
Joe
Joe
@ratchetfreak it is very strange that he talks about jews when we talk about economy
11:39
jews are traditionally bankers
Joe
Joe
true
even more federal reserve bank is controlled by rothchild family
@Joe Dunno, you seemed to want to draw a distinction between "the world" and "the rothchild family" for some reason.
Joe
Joe
@R.MartinhoFernandes please talk about economy and rthchild are bankers so dont include their relagion in debait
Wow. Such Relagion. Much Debait.
Yes, but there are plenty of other bankers. You said they only own some billions of the 20T debt. That's less than 5%. Yet you felt the need to single them out from "the world".
11:44
@sehe you forgot to embed a doge image
I feel relagious
@login_not_failed is your ping time that high?
@login_not_failed I feel egregiously pugnacious
@Mgetz living on the dark side of the Moon because of NWO
NWO = What we call "NIH" here
11:46
@login_not_failed they shipped you out to do IT on the secret moon base?
tinfoil is so precious there, wasted my last batch of it today, egh
@Mgetz pmuch, yea
@login_not_failed Ben ik wéér vergeten dat je ook NL bent?
user1326628
what is tinfoil used for?
user1326628
they can still see
@kkkkk amalgamation experiments
11:47
dayum!
@login_not_failed tbf it's not secret, the ESA has talked about builting a telescope base out there for ages
user1326628
why everybody have access to it?
@sehe Nej, jeg husker altid denne kendsgerning
@sehe the mercury explains the crackpot theories!
3
user1326628
lots of people not far from me can spy on me
11:48
(hope gtranslate won't shove me some profanities there :D)
user1326628
is that a paid service?
@login_not_failed Gouda is not in Denmark (there are rotten things there)
@Mgetz precisely!
@sehe Erkendte!
Dan is het goed. Over en uit.
@sehe Øren er ude af reden, jeg gentager, at ørnen er ude af reden.
11:53
Lounge<kittens of snark>
I popped a pic of Burbank's current situation. This fire looks pretty crazy! That's Universal Studios #latunafire… https://twitter.com/i/web/status/903884324981817344
@login_not_failed ørnen? There's a typo in google :)
user784668
Is it normal that Linux fails to boot if I overclock RAM to 1066 MHz at 1.5 V, but works fine if I up the voltage to 1.62 V?
higher clockspeeds means higher current, if the impedance source is too high then there is a voltage drop seen on the component, that may cause instability
@Fanael reminder that @Mysticial found that this slowly destroyed the gates
user784668
@Mgetz I'm pretty sure this is known to be the case at least since early Pentium 4's.
user784668
@nwp If by "abort" they mean std::abort(), SIGABRT dumps core by default.
when I see abort in docs I tend to assume exit(1) rather than abort()
nwp
nwp
@Fanael I don't know what they mean by "aborts program execution". As you can see, Qt documentation is one of the best of the best like everyone keeps telling me.
user784668
@nwp doesn't new throw std::bad_alloc by default?
user784668
12:11
@Mgetz Yes that's the point
@Fanael sorry still on my first cup of tea
user784668
@nwp still better OOM handling than Rust
@Fanael rust seems like it was designed by JTHM, everything kills you
12:27
is there any common arch where sizeof(struct { int a, b; }) != sizeof(int) * 2?
@BartekBanachewicz PDP?
user784668
@Mgetz common
well relatively common
user784668
@BartekBanachewicz Don't know and don't care, if you depend on it just static_assert it.
oh darn I was going to answer NT Alpha AXP
12:29
@Mgetz how much would such a struct take there? 3x int?
user784668
@Mgetz Is that really true?
@BartekBanachewicz potentially 2x, possibly not Raymond hasn't actually gotten to that part of his series yet
@Mgetz well 2x is what we expect
@BartekBanachewicz nonono, as in 64bits per int
it's the common sense answer considering how int is defined on most platforms
@Mgetz and int being 32 bit?
12:31
@BartekBanachewicz technically yes, NT on the Alpha was a weird hybrid of x32 on a 64bit only proc
user784668
@Mgetz But why?
@Fanael alignment requirements?
user784668
Alpha can load and store 32-bit quantities just fine.
@Fanael I suspect because NT was still strictly 32bit at the time they originally ported, they later ported to full x64 IIRC
12:34
here we can observe 32 bit dealing with double 8, 16, 32 and 64 bit struct just fine
user784668
@ratchetfreak But then int would be 64 bits, thus sizeof(S) == sizeof(int) * 2 would still hold.
^ my thoughts exactly
user784668
@Mgetz Somebody tell him about ldbu and stb
user784668
There's just no reason for Alpha to violate Bartek's assumption, it can deal with 8, 16, and 32 bit quantities just fine despite being 64-bit.
12:39
@Fanael may not have existed on that version of the Alpha
user784668
Also, it's Alpha.
user784668
The arch is dead.
user784668
@BartekBanachewicz Ask on SO.
@Fanael you honestly think it's a good question?
user784668
Why would it not be?
12:45
I guess. Let's do this
0
Q: Is there any architecture where "int" is unaligned?

Bartek BanachewiczSpecifically, this came up in a discussion: Memory consuption wise, is there a possibility that using a struct of two ints take more memory than just two ints? Or, in language terms: #include <iostream> struct S { int a, b; }; int main() { std::cout << (sizeof(S) > sizeof(int) * 2 ? "...

nwp
nwp
Sounds like "Do my research for an irrelevant edge case for me". But the community seems to like it so I guess it's fine.
@nwp hey I bet my colleague 10 bucks that there's no such system :D
user784668
@nwp "Do my research for an irrelevant edge case for me" is basically 90% of SO
also this yeah
I guess the upvotes are for stuff that's still that but remotely interesting
nwp
nwp
Also I don't understand the title. int being unaligned (meaning no alignment requirements?) would result in "the same". Asking about overaligned ints where alignof(int) > sizeof(int) makes more sense to me.
12:59
@nwp good point. I kinda meant unaligned as the latter
is "overaligned" a thing?
user784668
@nwp alignof cannot be bigger than sizeof though
> To codify widespread existing practice, C++11 added the ability to specify increased alignment (a.k.a. over-alignment) for class types.
hmm, class types
00:00 - 13:0013:00 - 00:00

« first day (2515 days earlier)      last day (2659 days later) »