Mihail
And 2GB
Mihail
But that's kinda asking for it
Mihail
Most normal desktop PCs have 8-16GB
Hayk
If with Chrome yeah
It was eating without chrome. But when there was also chrome the pc was lagging a lot. I understand the reason and that's why I'm not using IDEs
olli
Still VS offers really neat features - Template Intellisense - sanitizer/use after move checks - concurrency analysis - .... many more
KAPEX
Which is the best Ide to use c++
Clion is very good, if free one then CodeBlocks is fine enough
olli
And Visual Studio is free (*) as well
Hayk
Most normal desktop PCs have 8-16GB
My pc is very old, but there's no sense to by a new one or to upgrade it.
Mat
Which is the best Ide to use c++
If you're on linux, you can try Gnome Builder
Anonymous
vim
Francisco
What about code blocks..?
For simple things is okay, but later you'll want to move to VSCode, Atom or other editors
BinaryByter
even nano or ME is
Anonymous
Hi
Prometheus
Hi
Francisco
even nano or ME is
That's your opinion e.e
BinaryByter
BinaryByter
the only thing that vsc really adds is a bit of context sensitive help
BinaryByter
on the other hand though, its very bloated
Kevin
Which is the best Ide to use c++
IDE is not really required. I compile and run programs on the terminal itself
Kevin
IDEs are generally buggy in Linux based systems.
MᏫᎻᎯᎷᎷᎬᎠ
Francisco
IDE is not really required. I compile and run programs on the terminal itself
I do the same, but it's true that sometimes IDEs can help if you are not familiar with building tools (CMake/Make, gcc/clang, clang-tidy, etc)
Mat
IDEs are generally buggy in Linux based systems.
I used Gnome builder without experiencing bugs 🤔
Wim
Turbo C++ lol
Don't you just love those wordstar based shortkeys?😂
BinaryByter
Turbo C++ lol
turbo c++ is mostly fine, but i personally dislike its blue background. also it compiles an older cpp dialect so you might wanna be aware of that
Francisco
That's the first thing that appeared in Google e.e
Francisco
I haven't gone into too much detail about Meson, but that was discouraging
Francisco
Plus that almost every important proyect uses CMake as the build system
Mat
I haven't gone into too much detail about Meson, but that was discouraging
You can see similar opinions on make, cmake, C, Cpp and so on actually 🤔
Francisco
Yep, but not as the first entry in Google lol
Mat
Plus that almost every important proyect uses CMake as the build system
That's because people usually adopt new technologies with a really low pace
Daniele°
Meson is more simple and fast
Francisco
Search meson build system :P
I know, was kind of a curious thing, but I don't see a reason to just move from CMake right now while every proyect is using it. Maybe Meson is better, but not used that much
Daniele°
Francisco
I guess it depends on your location
Daniele°
Old project use cmake or autotools they are passing to meson
Daniele°
Xorg, mesa, etc, etc, etc
Mat
Xorg, mesa, etc, etc, etc
The entire gnome project
Francisco
I'm now really comfortable with CMake right now. If Meson ends up being that popular and everyone moves to it, I'll end up moving. If it's easy to learn and use, there shouldn't be any problem if I wait until it becomes popular
Francisco
I will check it out anyway when I have a little bit of time
joel
okay I need help with this
joel
anytime I run it
joel
I get a segmentation error
joel
BinaryByter
I get a segmentation error
have you gdbed over it?
joel
have you gdbed over it?
yh but I don't understand
BinaryByter
whats gdb telling you?
BinaryByter
you are probably accessing an array element that isn't allocated
BinaryByter
try using std::array btw
joel
oh wait wrong error
BinaryByter
lol
joel
the lowest var is always zero
many
It's nice to specify "std::" but do you guys do it for all the time?
BinaryByter
the lowest var is always zero
you probably dont fill it well
BinaryByter
are you sure that you dont skip the first?
joel
I don't get it
joel
and the highest gives the lowest value
BinaryByter
maybe you fill one with 0
BinaryByter
and the highest gives the lowest value
then you probably miss the last one and fill from the last to the first
many
If bar() throws an exception, can Foo() notice there is an exception and then catch the exception? Foo(){ try{ bar() } catch (...) { ... } } Bar(){ try{ // ... } catch (...) { ... } }
BinaryByter
this is due to stack unwinding
BinaryByter
unwinding to the outermost try would be... slow
many
That means outter scope cannot notice for the exception. Got it
BinaryByter
yea
BinaryByter
however, you can throw an exception in the catch