Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 03 2017 15:52
    @dom96 banned @Octopoda7
  • Feb 12 2017 23:57
    @dom96 banned @zzz125
  • Dec 23 2016 19:43
    @dom96 banned @Izrab
From IRC (bridge bot)
@FromIRC
<disruptek> create a new file that imports the first.
<disruptek> goto 1.
<FromDiscord> <treeform> disruptek, IE might be using some OS features not counted in the thing. I never used IE so I don't know how bloated it is. IE11 was a full rewrite though.
<FromDiscord> <treeform> Mabye IE 11 did not have time to accumulate cruft.
<disruptek> i mean, you might be right.
<disruptek> i could be showing my age.
<Araq> I have 23 tabs open and 40 Chrome processes
<Araq> taking up 3GB
<Araq> maybe <h1>Hello world</h1> isn't the best benchmark for its overhead
<FromDiscord> <treeform> But the tabs have Images and text.
<FromDiscord> <treeform> Images are huge when unpacked for the GPU to use.
<disruptek> i run a -march=native build of chromium and all its dependencies, from scratch, according to my hardware and available software.
<FromDiscord> <treeform> I don't know if 23 Fidget programs full of images and text could beat that?
From IRC (bridge bot)
@FromIRC
<disruptek> it's wickedly fast and still takes a few gigs of memory.
Kaushal Modi
@kaushalmodi
leorize[m]: I'll need to change a lot of code for that
From IRC (bridge bot)
@FromIRC
<Araq> 3 tabs of my VSCode take up 300MB
Kaushal Modi
@kaushalmodi
so I need to replace {.exportc.} with {.dynlib.}?
or {.exportc.} with {.exportc, dynlib.}?
From IRC (bridge bot)
@FromIRC
<Araq> the latter if you build an .so
Kaushal Modi
@kaushalmodi
ok.. trying that out
From IRC (bridge bot)
@FromIRC
<disruptek> just shared memory is 150meg for chromium.
<leorize[m]> @kaushalmodi: perks is that it will work on windows
Kaushal Modi
@kaushalmodi
leorize: Thanks! That worked!
From IRC (bridge bot)
@FromIRC
<leorize[m]> no, exportc and dynlib
Kaushal Modi
@kaushalmodi
0000000000007ad0 T NimMain
0000000000007b74 T _fini
0000000000000818 T _init
00000000000079e0 T hello
From IRC (bridge bot)
@FromIRC
<leorize[m]> yea, the no dynlib but things are exported was a bug
<leorize[m]> the spec said you need dynlib, but didn't enforce that on *nix
<leorize[m]> though probably I should PR in a changelog too, given how users might not notice this
Kaushal Modi
@kaushalmodi

though probably I should PR in a changelog too

+1

I was going to suggest that

it will be a pretty serious breaking change
It should be in bold or something
From IRC (bridge bot)
@FromIRC
<Araq> agreed
<Araq> and leorize[m] is right, now it works as it was supposed to work :⁠-)
<disruptek> nice.
<FromDiscord> <treeform> I think I can lower the memory use by not using openGL. But using platform native CPU only drawing commands.
<FromDiscord> <Elegant Beef> hey i now have adding and removing
<FromDiscord> <Elegant Beef> 😄
<FromDiscord> <Elegant Beef> Well 0 clue how performant this is
<Araq> treeform: fwiw my NimEdit had comparable overhead with "Aporia" (a GTK application) too
Kaushal Modi
@kaushalmodi
Araq, leorize[m]: Thanks. Thankfully this change is backward compatible too
From IRC (bridge bot)
@FromIRC
<Araq> around 20MB
Kaushal Modi
@kaushalmodi
now I need to sed few dozen files ..
From IRC (bridge bot)
@FromIRC
<Araq> and I blamed SDL2
<FromDiscord> <Elegant Beef> apparently writing roughly 4,000,000 strings to the console takes some time
<Araq> @kaushalmodi: use nimgrep instead
<FromDiscord> <Elegant Beef> Well with 400k it takes a second roughly per tick
<leorize[m]> @Elegant Beef: that's pretty much expected
<FromDiscord> <Elegant Beef> That was more of a joke then anything
Kaushal Modi
@kaushalmodi
Araq: I never used nimgrep because I am comfortable with sed and rg
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Elegant Beef> Not like i have a very viable test of this ecs considering i lack something to run it in