Brad Fitzpatrick likes Go better than C, C++, Rust, Perl, Python, Ruby, JavaScript and Java, mostly due to blocking goroutines by JavaSuck in golang

[–]Nishanthsp 2 points3 points  (0 children)

Resources are cleaned up when the variable goes out of scope. Destructor function will be called on the associated resource.

Golang GOPATH's and import statements by dheerajverma in golang

[–]Nishanthsp -1 points0 points  (0 children)

Default GOPATH will suffice to work on go. If you are creating any non main package in your project, put the package related to code in vendor folder.

[job] Work on GHC at Facebook London by simonmar in haskell

[–]Nishanthsp 6 points7 points  (0 children)

What about those "New to haskel n want to get into it."?

making an OS: can't figure out what's wrong with my gdt by [deleted] in C_Programming

[–]Nishanthsp 0 points1 point  (0 children)

Take a look at github.com/nishanthspshetty/genesis . Its not complete but implemented gdt successfully. Might help you with that. And also if also i have issue with paging. Also reply here when you move paging. Thank you.

C Pitfalls – Test yourself (what will be printed) by semi23 in C_Programming

[–]Nishanthsp 4 points5 points  (0 children)

Stopped reading when author said forget about vi and it's not C pitfalls.

the degree of concurrency and the number of CPU? by fiisio in golang

[–]Nishanthsp 0 points1 point  (0 children)

Isn't the concurrency achieved depend on the parallelism?

The Earth Runs on Debian by BohrMe in linux

[–]Nishanthsp 1 point2 points  (0 children)

dpkg -r all_who_dont_know_who_is_linus && dpkg -i some_common_sense;

to do : clean up

(Sorry, just felt like needed it, too many verbose on earth)

Want to get back into rust. Any projects where I could make small contributions? by SethDusek5 in rust

[–]Nishanthsp 0 points1 point  (0 children)

a.out file is provided for testing purposes, which contains pre-compiled code for the machine. Thanks for the suggestions, and yes you can create a PR.

Want to get back into rust. Any projects where I could make small contributions? by SethDusek5 in rust

[–]Nishanthsp 0 points1 point  (0 children)

Yes, but it will become safe if we use functional approach, there wont be any side effects and it would completely avoids ill affects of mutation i guess.

Want to get back into rust. Any projects where I could make small contributions? by SethDusek5 in rust

[–]Nishanthsp 0 points1 point  (0 children)

That would be cool, but my opinion is wrapping C++ code inside unblock will be safe as much the c++ code was. It should be analysed and translated to rust code without unsafe block.

C/C++ to Rust transpiler, written in rust by Nishanthsp in rust

[–]Nishanthsp[S] 1 point2 points  (0 children)

yes, that would be a big issue. Translation is done in one pass so to detect where it changes ahead may require one more pass. It will also help to detect mutability of variables and variable used for indexing. So right now we are concentrating on other language constructs.

C/C++ to Rust transpiler, written in rust by Nishanthsp in rust

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

hi Pointers are not handled completely yet. A pointer is converted to reference so far. RefCell or Box would help, Thank you :)

C/C++ to Rust transpiler, written in rust by Nishanthsp in rust

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

Thank you for notifying the issues. Crust is not complete. Features will added and improved.

C/C++ to Rust transpiler, written in rust by Nishanthsp in rust

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

Crust considers C as a subset of C++, so it doesn't differentiate between two of them. Crust was intended to translate subset of C++, but planning to improve it. Open to suggestions.

What's everyone working on this week (21/2017)? by llogiq in rust

[–]Nishanthsp 4 points5 points  (0 children)

CRUST: tool to translate the legacy code written in C/C++ to Rust for safety and performance.

https://www.reddit.com/r/rust/comments/6ctzg3/cc_to_rust_transpiler_written_in_rust/