# Where can I follow compiler work progress?

**URL:** <https://discourse.julialang.org/t/where-can-i-follow-compiler-work-progress/65503>\
**Category:** Internals & Design\
**Tags:** question, cxx\
**Created:** [July 29, 2021, 3:43pm UTC](https://discourse.julialang.org/t/where-can-i-follow-compiler-work-progress/65503 "2021-07-29T15:43:22Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![gitboy16](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gitboy16/32/24906_2.png) [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Post date:** [August 1, 2021, 2:14pm UTC](https://discourse.julialang.org/t/where-can-i-follow-compiler-work-progress/65503/15 "2021-08-01T14:14:21Z")

</div>

Here is the link for my threads question:

> [@Control number of threads](https://discourse.julialang.org/t/control-number-of-threads/62887):
>
> Hi, Let’s say i have started julia with JULIA\_NUM\_THREADS=4, however in one of my loop I only want to use 2 threads because it gives better performance. How do I do that so that Threads.@threads only use 2 threads? Thank you

Yes only at startup is the problem whereas with openmp a specific number of threads depending on how long the loop is. Example, if the loop if only 100 elements it does not make really sense to have 10 threads working on it.

Regarding CxxWrap, I haven’t manage to make it work. Here is the link to my question:

> [@CxxWrap on windows](https://discourse.julialang.org/t/cxxwrap-on-windows/65178):
>
> Hi, I am trying to use CxxWrap on windows. I am trying to reproduce the “hello world” on the github page. Questions: 1/ where is #include "jlcxx/jlcxx.hpp" ? 2/ how do I compile to a shared library? ( i have gcc) 3/ does anyone have a step by step tutorial for windows? The documentation seem a bit light for beginners. Thank you

Answering @DNF while I am at it. You do not need Rcpp to wrap C or C++ in R. R is not slow except if you write code like you do in C which nobody does. What is nice with Rcpp is that it creates an amazing bridge between R and C++. It gives you access to a lot of libraries like Boost, Armadillo, Eigen, QuantLib, intel threading building block…etc and this just by “decorating” your c++ file. It takes care of the linking and building for you. Instead of wasting your time focusing on coding you can actually focus on solving a given problem that has not been solved before.

Wrapping C++ is not only useful, it is key. I personnaly have no time to spend re-writting C/C++ code in Julia or re-inventing the wheel, not to mention the headache testing and maintaining it when I can leverage on what has been done by other over the years. There are things even Julia rely on which are written in C/C++ and I can bet that these are are not going anywhere like llvm and curl. Whether I like or not these C/C++ language have been around before I was born and I believe will still be around after my death…

@tkf , below is my question on discourse. Thank you for letting me know it is not possible.

> [@Async limit](https://discourse.julialang.org/t/async-limit/62732):
>
> Hi, When using @async is there a way to limit the number of processes/queries being run at the same time? Thank you Kind regards

---

_[View the full topic](https://discourse.julialang.org/t/where-can-i-follow-compiler-work-progress/65503)._
