[Nix-dev] Perl -> C++
Jakob Gillich
jakob at gillich.me
Sat Jan 2 11:41:50 CET 2016
Nix doesn't have to be rewritten at once; you can rewrite the Perl stuff
in Rust and call them from C++ code via a C interface[1]. This is what
Mozilla does in Firefox, which is also mostly C++. So the question
should be, do we want to get rid of C++ in the long term?
[1]: https://doc.rust-lang.org/book/ffi.html
On Thu, Dec 31, 2015, at 12:36 PM, Luca Bruno wrote:
> Nix is already C++. It's just that some tools are written in perl. Nix
> certainly isn't going to be rewritten in another language, at this
> time would be a waste of efforts in my opinion. The perl->c++ is about
> reducing the nix closure even more, but translating perl tools to c++.
>
> On Thu, Dec 31, 2015 at 12:33 PM, Tomasz Czyż
> <tomasz.czyz at gmail.com> wrote:
>> Domen, I think this evolved from why perl -> c++ not perl -> X. Not
>> sure this went to nix -> X. But if decision was already made that c++
>> is the one, probably discussion is over :)?
>>
>
> _________________________________________________
> nix-dev mailing list nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160102/c35e3d85/attachment-0001.html
More information about the nix-dev
mailing list