El 24/06/14 12:05, Huon Wilson escribió:
On 24/06/14 20:41, György Andrasek wrote:
The FAQ says:
Our solution: Cargo allows a package to specify a script to run
before invoking |rustc|. We plan to add support for platform-specific
configuration, so you can use |make| on Linux and |cmake| on
El 05/05/14 19:47, Daniel Micay escribió:
On 05/05/14 02:42 PM, John Mija wrote:
I like the project clearcrypt and it is awesome that developers start to
build different algorithms than standard ones.
But it's also necessary to have the most used algorithms, like i.e.:
aes
rsa
des
hmac
md5
Is possible to create wraps to the Windows system calls?
Is there any tool to do it easily? Something like
[mksyscall_windows.go](https://code.google.com/p/go/source/browse/src/pkg/syscall/mksyscall_windows.go)
which generates the bodies for the Windows system calls.
The cryptography library was removed from the standard library because
there was not way to verify the possible issues in the algorithms
implementations.
But luckly, there is already a DSL designed for such task:
http://cryptol.net/index.html
https://news.ycombinator.com/item?id=7642434
Sometimes, developers need ideas or cool projects to be inspired. Here
you have some ones, please share some more.
+ Implementation of the Raft distributed consensus protocol. It will
allow to build distributed systems
Implementations in Go:
https://github.com/goraft/raft
Is possible to fork/daemonize in Rust? Without problems due to the
interaction between fork(2) and threads.
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev
have any reason to
write new code in Go. Go away!
2014年3月5日 上午3:44于 John Mija jon...@proinbox.com
mailto:jon...@proinbox.com写道:
Every time there is a new language, developers have to start to
developing from scratch the same algorithms.
The alternative has been to use C libraries already
need to do.
2014年3月5日 下午4:59于 John Mija jon...@proinbox.com
mailto:jon...@proinbox.com写道:
Although you use Rust as main language, there are reasons to use a
second language i.e. for scripting; the AAA games usually are built
in C++ but it's very common the usage of Lua for scripting
Thanks! My vision was very limited.
You don't need other language else a sub-set of Rust. At the beginning,
I was thinking in Go because the standard library already has functions
to parsing Go code:
http://golang.org/pkg/go/
The usage for a sub-set of Rust could be:
+ To replace bash
Every time there is a new language, developers have to start to
developing from scratch the same algorithms.
The alternative has been to use C libraries already built since is much
easier to interface with other languages and a lot of languages will let
you call C functions directly.
But C
El 04/03/14 19:51, Tony Arcieri escribió:
On Tue, Mar 4, 2014 at 11:43 AM, John Mija jon...@proinbox.com
mailto:jon...@proinbox.com wrote:
So, why don't use a simple language but safe like Go?
Go isn't a systems programming language. Go is a low-level managed
language with a mandatory
by the
Go linkers. This would be the tricky part, but the garbage collector
should be managed by the host language.
On Tue, Mar 4, 2014 at 2:56 PM, John Mija jon...@proinbox.com
mailto:jon...@proinbox.com wrote:
El 04/03/14 19:51, Tony Arcieri escribió:
On Tue, Mar 4, 2014 at 11:43 AM
The other option that I had in mind, would be to build a modified
version of Go (removing some statements) which could be used like
universal language.
Finally, to build an automatic transformer to the desired language,
like a transformer from Go to Rust.
El 04/03/14 20:14, John Mija escribió
El 04/03/14 20:24, Daniel Micay escribió:
On 04/03/14 02:43 PM, John Mija wrote:
So, why don't use a simple language but safe like Go?
Go isn't safe. It has data races.
True, but Go includes a built-in data race detector:
http://golang.org/doc/articles/race_detector.html
Anyway
/03/14 20:30, John Mija escribió:
The other option that I had in mind, would be to build a modified
version of Go (removing some statements) which could be used like
universal language.
Finally, to build an automatic transformer to the desired language,
like a transformer from Go to Rust
There is a web front-end for gdb to debug applications in Go, C and C++.
I'm supposed that it also could be used to debug Rust apps.
https://github.com/sirnewton01/godbg
El 13/01/14 07:42, Michael Woerister escribió:
Hi,
the `break` command can be a bit particular where function names are
Before of release 1.0, it would be very good if it's added to the
package standard a generic interface to be implemented by the packages
of SQL drivers.
As example, see packages database/sql and database/sql/driver in the
Go's library:
http://golang.org/pkg/database/
one being
able to switch between them if necessary.
El 11/12/13 17:04, Patrick Walton escribió:
On 12/11/13 3:01 AM, John Mija wrote:
Before of release 1.0, it would be very good if it's added to the
package standard a generic interface to be implemented by the packages
of SQL drivers.
We
) = { /* file couldn't be opened, error contained in e */ }
}
On Sat, Nov 2, 2013 at 5:34 PM, John Mija jon...@proinbox.com wrote:
How to check an error at opening a file but without closing its file
descriptor?
use std::path;
use std::rt::io;
use std::rt::io::file;
let filename = /some/path;
let f
How to check an error at opening a file but without closing its file
descriptor?
use std::path;
use std::rt::io;
use std::rt::io::file;
let filename = /some/path;
let f = file::open(path::Path::new(filename), io::Open, io::Read);
___
Rust-dev mailing
Interesting post about how the author with the help of the Go community
has got better performance than C++ version.
After optimizations, the Go ray tracer was 8.4 % faster than a
functionally equivalent C++ version when rendering a 4.2 MegaPixel image
using a single thread. With
Since a post in HN about a raytracer into a business card, a guy built
the implementation in Go:
https://groups.google.com/forum/#!topic/golang-nuts/mxYzHQSV3rw
The C++ version: https://gist.github.com/kid0m4n/6680629
The Go version: https://github.com/kid0m4n/gorays
Performance (2.2 Ghz Quad
0m10.411s
user0m10.404s
sys 0m0.000s
El 24/09/13 14:52, Huon Wilson escribió:
On 24/09/13 16:18, John Mija wrote:
Since a post in HN about a raytracer into a business card, a guy built
the implementation in Go:
https://groups.google.com/forum/#!topic/golang-nuts/mxYzHQSV3rw
The C
Since Rust is close to 0.8 (with a syntax almost stable), each time
there will be more interest to be learned by newbies (like me) so I
think that could help some resources if were converted to Rust:
+ The tour of Go (http://tour.golang.org/) is licensed under Apache
After of reading an article seen in HN Strange Loops: Ken Thompson and
the Self-referencing C Compiler
(https://news.ycombinator.com/item?id=6355978)
I'm worried if that issue could happens in the Rust compiler.
Does Rust compiler is bootstrapped?
Which would be the best way (respect to performance) to embed a language
like Go in Rust?
(a) Since the Go compilers are written in C, it could be wrapped the
functions for compiling and linking, and then to do a system call to run
the binary.
(b) To call directly to the binaries to
Hi! I've seen that Mozilla has used Go to build Heka
(https://github.com/mozilla-services/heka). And although Go was meant to
build servers while Rust was meant to build concurrent applications,
Rust is better engineered that Go (much safer, more modular, optional GC).
Then, when is better
From my point of view, there is no technology related to User
Interfaces more advanced than web-based (HTML5/CSS3). Besides, it is a
standard, it's widely known by the Web developers, and it continues to
improve with emerging web standards (Custom Elements, Shadow DOM, etc.):
+ Web Animations
Into a recent commit, has been renamed print!()/println!() to
printf!()/printfln!()
https://github.com/mozilla/rust/commit/3b0258916d28a1215acf9a0c78f6760cc67f935c
Why do not have print!(), println!() and printf!()?
If somebody wants a line in printf!(), he can use \n character.
:51, John Mija escribió:
How could be integrated the Go language in Rust?
If somebody were to write a Go compiler to be integrated in Rust[1],
which path would be the best one? To create bindings to commands
[568][acgl] [2] or write the SSA library/interpreter [3] in Rust?
[1] to be integrated
How could be integrated the Go language in Rust?
If somebody were to write a Go compiler to be integrated in Rust[1],
which path would be the best one? To create bindings to commands
[568][acgl] [2] or write the SSA library/interpreter [3] in Rust?
[1] to be integrated in other language: I
Thanks for your answer,
El 29/05/13 21:40, Graydon Hoare escribió:
On 13-05-29 12:51 PM, John Mija wrote:
How could be integrated the Go language in Rust?
To embed a language, it generally needs to present a cdecl callable
interface (= accept C callbacks), and be willing to schedule its
Since the low level libraries usually have many constants, it would be
great whether multiple constants and variables could be grouped using
parenthesis.
Now:
static a = 1;
static b = 35;
static c = 120;
Using parenthesis:
static (
a = 1;
b = 35;
c = 120;
)
:
On 16 April 2013 11:28, John Mija jon...@proinbox.com wrote:
Since the low level libraries usually have many constants, it would be great
whether multiple constants and variables could be grouped using parenthesis.
Now:
static a = 1;
static b = 35;
static c = 120;
Using parenthesis:
static
Go has not anything like Python's PEP8, but a tool which formats code
and it is being used widely by the projects.
I prefer that Rust would have such tool, replacing the usual compendium
of do's and don'ts that allows interpretation:
the library
libgcc_s_dw2-1.dll
El 20/12/12 20:22, John Mija escribió:
I've Windows XP under VirtualBox. I'll test it tomorrow.
El 20/12/12 20:05, Graydon Hoare escribió:
On 12-12-20 03:34 AM, James Gao wrote:
7d818abf16c0061278658b8cfc6e0e0859885b5f *rust-0.5.tar.gz
downloaded stage0 binary
I've Windows XP under VirtualBox. I'll test it tomorrow.
El 20/12/12 20:05, Graydon Hoare escribió:
On 12-12-20 03:34 AM, James Gao wrote:
7d818abf16c0061278658b8cfc6e0e0859885b5f *rust-0.5.tar.gz
downloaded stage0 binary: *rust-0.5\dl\rust-stage0\bin\rustc.exe* is
still failed to execute on
Rust has attributes[1] at function-level but (1) the compilation could
be faster if they were at file-level, and (2) the project would be more
homogeneous and clean.
+ Instead of to have the attribute #[test] for a function, those tests
functions could be into a file with the name finished in
On 19/10/12 07:49, Patrick Walton wrote:
On 10/18/12 11:43 PM, John Mija wrote:
Rust has attributes[1] at function-level but (1) the compilation could
be faster if they were at file-level
I don't think it'd be significantly faster. cfg'd off items are
eliminated very early in compilation
On 17/10/12 20:09, John Mija wrote:
Since Rust compiles down to LLVM and OpenCL is also built on LLVM
compiler technology, could be used the GPU from Rust? Which would be
perfect to build games and graphical applications in general that
require a lot of processing.
Does anybody could say
El 19/10/12 09:05, Lucian Branescu escribió:
I think it might be even more interesting to be able to compile a
subset of Rust to GLSL, similar to
https://github.com/ztellman/penumbra/wiki/Shaders-and-GPGPU
Penumbra is an wrapper for OpenGL in Clojure; and whatever wrapper to
C/C++ code could
41 matches
Mail list logo