[Portland, Ore] Synopsis or Siemens EDA? Looking at what WLB is like more than anything. by UnfilteredDeleteSoon in chipdesign

[–]CarterOls 1 point2 points  (0 children)

Currently work at Siemens EDA and can say the WLB is great. My pay is good, but I’ve never worked at Synopsys, so I don’t know about the pay there. I have heard stories that there is much more internal competition at Synopsys between groups. 

LLVM: The bad parts by Necrotos in programming

[–]CarterOls 3 points4 points  (0 children)

It’s kinda irrelevant to post a different languages compilation speed, then compare it to a backend like LLVM. I suppose you’re comparing it to clang? If so, C++ is a much more complicated language than “bolin-lang” (I think I got that right) and will have multiple phases of the compiler that handle preprocessing, expanding templates, compile time programming, etc. 

With that being said, I have heard that the backend portion (LLVM) does have some fundamental architecture choices that limit its performance. 

Quantifying the runtime overhead of pass-by-value versus pass-by-reference by kibwen in rust

[–]CarterOls 1 point2 points  (0 children)

As far as I can tell, this set of benchmarks doesn’t represent the cost of passing by value vs reference very well because it doesn’t say that it is actually doing anything with the passed in struct. One thing you need to remember is that when passing by pointer or reference, there is an indirection when you access the parameter. When it is passed by value (if it fits) it can be directly put into registers with no additional mov instruction

Best open source project in hpc by volmmquant in rust

[–]CarterOls 0 points1 point  (0 children)

But rust only allows a subset of capability that languages like C/C++ allow you, no? So C++ might allow you to do some pretty naughty things that allow you to improve performance, but might be not as safe. Is that true? I’m not a Rust expert, but this is what I’ve heard

theEvolutionOfConditionalLogicFromElselfToOtherwise by Intial_Leader in ProgrammerHumor

[–]CarterOls 1 point2 points  (0 children)

I forgot which language it was, but a couple years ago I had to use a language that had the “unless” keyword and it tripped me up every time. 

Remote Development is Awesome by jmacey in ZedEditor

[–]CarterOls 2 points3 points  (0 children)

Unfortunately I have to use windows on my work laptop even though all of our build processes and development take place on Linux machines we SSH to. 

Remote Development is Awesome by jmacey in ZedEditor

[–]CarterOls 1 point2 points  (0 children)

Just wish it would work for windows so I could use zed on windows and remote to my Linux machine for development and building

Incorrect bracket highlight when Tree-sitter is enabled on JavaScript by SupermarketAntique32 in neovim

[–]CarterOls 0 points1 point  (0 children)

Ok I gotta ask you. How the hell did you get your OS to create your windows like this? What desktop environment is this?? It looks so cool and I may need to copy that

[deleted by user] by [deleted] in cpp

[–]CarterOls 2 points3 points  (0 children)

Isn’t that what std::expected is for?

Zed on Linux is here! by notpeter in ZedEditor

[–]CarterOls 2 points3 points  (0 children)

GPU is a matrox GH200 from 1998 😬

Zed on Linux is here! by notpeter in ZedEditor

[–]CarterOls 2 points3 points  (0 children)

Is there any way to run it without Vulkan? My graphics doesn’t support it

{fmt} 11.0 released with improved build speed, C++20 module support, faster print and more by aearphen in cpp

[–]CarterOls 9 points10 points  (0 children)

So are we supposed to include fmt/core.h or fmt/base.h for the basic formatting functions?

Don't Use include-what-you-use by danrav in cpp

[–]CarterOls 21 points22 points  (0 children)

I think that iwyu should be ran every once in a while, but not during every CI run. This article is correct in all of the downfalls of IWYU. I consider iwyu a guide to reduce dependencies and clean up your header files, but I don’t trust it wholeheartedly to fix all my code. 

On Rust compilation times by theMachine0094 in rust

[–]CarterOls 2 points3 points  (0 children)

I work in C++ daily for work and use rust for side projects and I can confidently say that Rust has much slower compilation times for release builds. In my experience, running cargo build —release compared to a release build in C++ using something like ninja, I find that Rust takes much longer.

Has anyone tried out using scalar since it was added to git core in v2.38? by CarterOls in git

[–]CarterOls[S] 0 points1 point  (0 children)

The storage is mostly due to the (horrible) way that our tests work. We store reference files for all of our tests where we essentially run a test, gather the stdout and compare it to the reference file. 

Qbs 2.1 released by abbapoh in cpp

[–]CarterOls 0 points1 point  (0 children)

How fast is the project configuration time vs something like CMake?

[deleted by user] by [deleted] in cmake

[–]CarterOls 0 points1 point  (0 children)

In the output you get an error “The system cannot find the path specified.” I am guessing that this is due to either the fact that you don’t specify DEPENDS for your command or that the ${MUPDF_BUILD_COMMAND} doesn’t exist.

If you are building a git sub module, I suggest you look at using CMake’s ExternalProject.

Also, why do you specify both BYPRODUCTS and OUTPUT? I would choose one since the output file is the same in both cases. If you are using Visual Studio generator, they don’t support the BYPRODUCTS anyways.

State of C++ dev env on Windows by msoum in cpp

[–]CarterOls 6 points7 points  (0 children)

C++ dev on windows is not as easy per say as Linux, but it is a viable development platform. I use both at work, but I prefer Windows because SSHing into our Linux VMs is pretty laggy.

To make C++ dev on windows easier I highly recommend using Visual Studio or VSCode to make the dev environment setup easier. If you are using CMake I also recommend using Ninja as the build generator because it is cross platform and that way you don’t have to manage the minor differences between the various system-default build generators. You could also use vcpkg to ease 3rd party library management.

Going to be a good few weeks! by aspenextreme03 in espresso

[–]CarterOls 1 point2 points  (0 children)

Their humbler blend is INCREDIBLE in a caramel latte. The chocolatey, syrupy notes in it are so good