Ah woo thanks that solves it.
--Phil
On 18 December 2013 15:46, Léo Testard wrote:
> Hello Philip,
>
>
> Le 18 déc. 2013 à 16:41, Philip Herron a écrit :
>
>> Hey all
>>
>> Been writing more rust to learn more. And i have been attempting to
>> write p
Hey all
Been writing more rust to learn more. And i have been attempting to
write python bindings to rust. And for example
if i create a function in rust:
pub fn spam () {
...
}
the symbol gets mangled to:
redbrain@pherron-mtfdev-vbox {~/workspace/python-rs} $ nm -s spam.o
t
Hey all
Some of you may have noticed the gccrs branch on the git mirror. Since
PyCon IE 2013 i gave a talk on my Python Front-end pet project and heard
about rust by a few people and i never really looked at it before until
then but i've kind of been hooked since.
So to learn the language i've be
I would defineltly like to see a clone of the python tutorial because it
really does it so well going inch by inch building up what way things work
i am not a web developer but would love to write content i wonder is it
possible to start a github project for this using sphinx i think it uses
isn't
f you change the last line to /call/ test(), you should get an error.
>
>
> On Wed, 13 Nov 2013, Philip Herron wrote:
>
> Hey all
>>
>> I am still learning but i just tried something which i expected to give an
>> error but works:
>>
>> fn
Hey all
I am still learning but i just tried something which i expected to give an
error but works:
fn test () -> int {
1
}
fn main () {
let test = test ();
println (format! ("{}", test));
}
I guess on compilation the names are mangled against their types or
something so you can different
Hey
I started looking around and working on
https://github.com/mozilla/rust/issues/9382
And the crash is:
Assertion failed: ((i >= FTy->getNumParams() || FTy->getParamType(i) ==
Args[i]->getType()) && "Calling a function with a bad signature!"),
function init, file
/Users/redbrain/workspace/rust
Thanks loads for the quick reply. Trying to see where i can try and
contribute to rust but i am still learning the language. I hope i can get
involved soon.
Thanks
--Phil
On 25 October 2013 22:15, Brian Anderson wrote:
> On 10/25/2013 01:30 PM, Philip Herron wrote:
>
>> Hey
Hey all,
I stumbled across rust at pycon ie 2013 and i've been hooked on learning
more about it since. And so i thought i would give a go at writing a
compiler for it so i've got:
https://github.com/redbrain/gccrs
Its a rust front-end to GCC and it compiles hello-world so far after about
a week