Re: [rust-dev] Configuration files library for Rust

2014-01-05 Thread Jordi Boggiano

On 06/01/2014 02:45, Michael Neumann wrote:

I was looking around and I couldn't find a config file parser library
for Rust. Getopt support seems to be pretty complete and stable, which
would make the development of such library easier.


There is now a TOML parser for Rust [1] :)


Thanks!

/me crosses item off the todo list

Cheers

--
Jordi Boggiano
@seldaek - http://nelm.io/jordi
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] Emscripten for Rust?

2014-01-05 Thread Tony Arcieri
Just wait until they write RustMonkey for Servo, then you can run your
Emscriptened C++ inside of that


On Sun, Jan 5, 2014 at 6:11 PM, Greg  wrote:

> I'd happy chip in for a Kickstarter-type project to automatically convert
> C/C++ to Rust.
>
> Anything like this exists or anyone planning on making this type of
> announcement?
>
> - Greg
>
> --
> Please do not email me anything that you are not comfortable also sharing with
> the NSA.
>
>
> ___
> Rust-dev mailing list
> Rust-dev@mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
>
>


-- 
Tony Arcieri
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] Emscripten for Rust?

2014-01-05 Thread Kevin Cantu
It would provide a nice migration path.  And a way to guarantee that
your nice Rust program had some terrible unsupported legacy C for the
next decade or two.  ;D

Kevin

On Sun, Jan 5, 2014 at 6:28 PM, Corey Richardson  wrote:
> Much of it would be. But why?
>
> On Sun, Jan 5, 2014 at 9:25 PM, Huon Wilson  wrote:
>> On first glance it seems like C -> Rust would be very feasible via a lot of
>> `unsafe`, * and *mut.
>>
>>
>>
>> On 06/01/14 13:21, Corey Richardson wrote:
>>>
>>> Any such conversion is going to be lossy enough as to be worthless.
>>> It's only acceptable for emscripten because the web platform can't run
>>> native code. But any use of Rust is already going to be  targetting
>>> something that can run C.
>>>
>>> On Sun, Jan 5, 2014 at 9:11 PM, Greg  wrote:

 I'd happy chip in for a Kickstarter-type project to automatically convert
 C/C++ to Rust.

 Anything like this exists or anyone planning on making this type of
 announcement?

 - Greg

 --
 Please do not email me anything that you are not comfortable also sharing
 with the NSA.


 ___
 Rust-dev mailing list
 Rust-dev@mozilla.org
 https://mail.mozilla.org/listinfo/rust-dev

>>> ___
>>> Rust-dev mailing list
>>> Rust-dev@mozilla.org
>>> https://mail.mozilla.org/listinfo/rust-dev
>>
>>
>> ___
>> Rust-dev mailing list
>> Rust-dev@mozilla.org
>> https://mail.mozilla.org/listinfo/rust-dev
> ___
> Rust-dev mailing list
> Rust-dev@mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] Emscripten for Rust?

2014-01-05 Thread Corey Richardson
Much of it would be. But why?

On Sun, Jan 5, 2014 at 9:25 PM, Huon Wilson  wrote:
> On first glance it seems like C -> Rust would be very feasible via a lot of
> `unsafe`, * and *mut.
>
>
>
> On 06/01/14 13:21, Corey Richardson wrote:
>>
>> Any such conversion is going to be lossy enough as to be worthless.
>> It's only acceptable for emscripten because the web platform can't run
>> native code. But any use of Rust is already going to be  targetting
>> something that can run C.
>>
>> On Sun, Jan 5, 2014 at 9:11 PM, Greg  wrote:
>>>
>>> I'd happy chip in for a Kickstarter-type project to automatically convert
>>> C/C++ to Rust.
>>>
>>> Anything like this exists or anyone planning on making this type of
>>> announcement?
>>>
>>> - Greg
>>>
>>> --
>>> Please do not email me anything that you are not comfortable also sharing
>>> with the NSA.
>>>
>>>
>>> ___
>>> Rust-dev mailing list
>>> Rust-dev@mozilla.org
>>> https://mail.mozilla.org/listinfo/rust-dev
>>>
>> ___
>> Rust-dev mailing list
>> Rust-dev@mozilla.org
>> https://mail.mozilla.org/listinfo/rust-dev
>
>
> ___
> Rust-dev mailing list
> Rust-dev@mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] Emscripten for Rust?

2014-01-05 Thread Huon Wilson
On first glance it seems like C -> Rust would be very feasible via a lot 
of `unsafe`, * and *mut.



On 06/01/14 13:21, Corey Richardson wrote:

Any such conversion is going to be lossy enough as to be worthless.
It's only acceptable for emscripten because the web platform can't run
native code. But any use of Rust is already going to be  targetting
something that can run C.

On Sun, Jan 5, 2014 at 9:11 PM, Greg  wrote:

I'd happy chip in for a Kickstarter-type project to automatically convert
C/C++ to Rust.

Anything like this exists or anyone planning on making this type of
announcement?

- Greg

--
Please do not email me anything that you are not comfortable also sharing
with the NSA.


___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] Emscripten for Rust?

2014-01-05 Thread Benjamin Striegel
I'm not sure if this is generally feasible! If memory-unsafe C/C++ code
could be automatically and mechanically converted to memory-safe Rust code,
then that would imply the existence of static analysis tools for C/C++ code
that could themselves guarantee memory safety without requiring Rust at all.


On Sun, Jan 5, 2014 at 9:11 PM, Greg  wrote:

> I'd happy chip in for a Kickstarter-type project to automatically convert
> C/C++ to Rust.
>
> Anything like this exists or anyone planning on making this type of
> announcement?
>
> - Greg
>
> --
> Please do not email me anything that you are not comfortable also sharing with
> the NSA.
>
>
> ___
> Rust-dev mailing list
> Rust-dev@mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
>
>
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] Emscripten for Rust?

2014-01-05 Thread Corey Richardson
Any such conversion is going to be lossy enough as to be worthless.
It's only acceptable for emscripten because the web platform can't run
native code. But any use of Rust is already going to be  targetting
something that can run C.

On Sun, Jan 5, 2014 at 9:11 PM, Greg  wrote:
> I'd happy chip in for a Kickstarter-type project to automatically convert
> C/C++ to Rust.
>
> Anything like this exists or anyone planning on making this type of
> announcement?
>
> - Greg
>
> --
> Please do not email me anything that you are not comfortable also sharing
> with the NSA.
>
>
> ___
> Rust-dev mailing list
> Rust-dev@mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
>
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


[rust-dev] Emscripten for Rust?

2014-01-05 Thread Greg
I'd happy chip in for a Kickstarter-type project to automatically convert C/C++ 
to Rust.

Anything like this exists or anyone planning on making this type of 
announcement?

- Greg

--
Please do not email me anything that you are not comfortable also sharing with 
the NSA.



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] Configuration files library for Rust

2014-01-05 Thread Michael Neumann


Am 04.01.2014 15:01, schrieb Flaper87:

Hi Guys,

I was looking around and I couldn't find a config file parser library 
for Rust. Getopt support seems to be pretty complete and stable, which 
would make the development of such library easier.


There is now a TOML parser for Rust [1] :)

[1]: https://github.com/mneumann/rust-toml

Regards,

Michael
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev