Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 06 10:48
    mosra edited #146
  • May 06 09:50
    mosra edited #453
  • May 05 17:09
    mosra edited #323
  • May 04 15:06
    mosra commented #506
  • May 04 13:01
    aegis1823 starred mosra/magnum
  • May 04 12:39
    dsanjit opened #506
  • May 03 19:07
    timow-gh starred mosra/magnum
  • May 03 14:05
    mosra edited #453
  • May 02 22:07
    GoldbergData starred mosra/magnum
  • May 02 21:31

    mosra on next

    TestSuite: change CORRADE_FAIL(… TestSuite: mention why the Prin… (compare)

  • May 02 21:26

    mosra on next

    Tester: funny, I added these te… TestSuite: this is tested more … TestSuite: was calling CORRADE_… and 3 more (compare)

  • May 02 20:02
    dmillard starred mosra/magnum
  • May 02 04:36
    freeze-dolphin starred mosra/magnum
  • May 01 21:21
    kacperks starred mosra/magnum-integration
  • May 01 12:20
    Ayfri starred mosra/magnum-examples
  • May 01 10:27

    mosra on next

    Adapt to FrameProfiler renaming. Adapt to GL shader renaming. [wip] package/ci: use magnum ne… (compare)

  • May 01 10:05

    mosra on next

    Adapt to GL shader renaming. [wip] package/ci: use magnum's … (compare)

  • May 01 10:04

    mosra on next

    Adapt to FrameProfiler renaming. Adapt to GL shader renaming. [wip] package/ci: use magnum ne… (compare)

  • May 01 10:01

    mosra on next

    Adapt to GL shader renaming. [wip] package/ci: use magnum's … (compare)

  • May 01 09:12

    mosra on master

    Adapt to Corrade changes. (compare)

DaeMon87
@DaeMon87
MagnumText-d.dll
Vladimír Vondruš
@mosra
yeah that looks like the plugin is also a debug one
usually debug plugins are in magnum-d/ and release in magnum/, try to copy the release one instead if you have it
DaeMon87
@DaeMon87
I am only using release dlls, in the list from the dependencies tool thats the only debug dll referenced the other 3 are release dlls
Vladimír Vondruš
@mosra
yes but if it would be just release DLLs it wouldn't want MagnumText-d.dll
DaeMon87
@DaeMon87
interesting though when I open the debug dll for the plugin, its looking or MagnumText.dll while the other 3 are -d.dlls
Vladimír Vondruš
@mosra
MagnumText-d.dll would then want Magnum-d.dll and CorradeUtility-d.dll and ...
huh
seems like something fishy happened in the build :)
DaeMon87
@DaeMon87
maybe i switched the args in the cmake config
Vladimír Vondruš
@mosra
at this point i would just throw all binaries away and start over
DaeMon87
@DaeMon87
Ill give that a shot much thanx for the help
Vladimír Vondruš
@mosra
you're welcome, DLL hell is the worst
Tracy Ma
@linuxaged
sometimes Magnum C++ Docs online searching page loads quite slowly, i'm in China mainland.
Vladimír Vondruš
@mosra
the search data are huge, i need to figure out some better caching
Tracy Ma
@linuxaged
i guessed this may be a network problem, many websites are not accessable here 😔
Vladimír Vondruš
@mosra
i'm hosting this on a local cloud provider in central Europe, which should hopefully be not affected by any political or whatever whims like the US-centric ones are
and also hopefully small enough to be a target of some censorship effort
Vladimír Vondruš
@mosra
anybody using std::string_view?
Vladimír Vondruš
@mosra
asking so i know if i should provide conversion of it to corrade's StringView or if that can wait for later
Tracy Ma
@linuxaged
Corrade container is prefered in our magnum project, lightweight and cross-platform consistent
Janos95
@Janos95
i am using string view, but if corrade provides one I would just switch :)
none of the libraries i am using, uses std string views, so that's pretty easy.
Vladimír Vondruš
@mosra
image.png

An appointed successor can manage your public repositories after presenting a death certificate then waiting for 7 days or presenting an obituary then waiting for 21 days.

does github know something i don't?! :scream:

Janos95
@Janos95
haha thats pretty morbid
Konstantinos Chatzilygeroudis
@costashatz
Hahahha
Jonathan Hale
@Squareys

does github know something i don't?! :scream:

I think all bigger open source projects are getting this :P

Janos95
@Janos95
just noticed this :
"echo "#include <algorithm>" | gcc-head -std=c++11 -P -E -x c++ - | wc -l" returns 11765
while
"echo "#include <algorithm>" | gcc-head -std=c++20 -P -E -x c++ - | wc -l" returns a whopping 45222
compiling an empty file including the algorithm header takes 0.15 sec (with c++11) vs 0.9 sec (with c++20)
Vladimír Vondruš
@mosra
hah, i thought you'd compare that to gcc 9
Janos95
@Janos95
I chased the includes and it turns out that <algorithm> transitively includes <ranges> which is 30 loc and contains lots of template stuff
Vladimír Vondruš
@mosra
because this happened for gcc 10, so i expected improvements: https://twitter.com/wakomeup/status/1196097492456214529
#include <ranges> is a fireable offense, then
Janos95
@Janos95
yes I can live without <ranges> in largish projects, but abondoning std::sort etc is not really an options :/
Vladimír Vondruš
@mosra
damn, right
i was just about to ask what exactly do you need from there
isn't it in some utility / internal header on gcc? so i could do another Utility/StlMath.h "deshittifier" but for <algorithm>
personally even the 0.15 sec was too much for me and so <algorithm> is included almost nowhere in magnum
another option: don't use c++20 :D
Janos95
@Janos95
yes I think one can include
#include <bits/stl_algobase.h>
#include <bits/stl_algo.h>
not sure about other platforms

another option: don't use c++20 :D

but I already changed all my enable_if's to requires clauses :laughing:

Janos95
@Janos95

personally even the 0.15 sec was too much for me and so <algorithm> is included almost nowhere in magnum

should I compare compile times?

Vladimír Vondruš
@mosra
of magnum? :D
Vladimír Vondruš
@mosra
you might need to force the -std in CMAKE_CXX_FLAGS, otherwise it'll use 11
Janos95
@Janos95
with DCMAKE_CXX_STANDARD=11 it is 17.43 seconds and with DCMAKE_CXX_STANDARD=20 it is 22.13 seconds. Very unscientific, average of two parallel debug compiles, but variance was quit low, about 0.5 seconds maybe.