Re: [rust-dev] Rustaceans - Rust User Groups

2015-08-11 Thread Tony Arcieri
discussion email list (e.g. rust-talk), I'd subscribe -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Rustaceans - Rust User Groups

2015-08-11 Thread Tony Arcieri
On Tue, Aug 11, 2015 at 6:58 PM, Sean McArthur smcart...@mozilla.com wrote: Yes I know. Even just adding `Unofficial' in the description of those lists would help prevent confusion, I think. To me Rustaceans implies unofficial/community organized, all the way down to Ferris. -- Tony Arcieri

Re: [rust-dev] Rust discourse visibility [Was: Tail call compatibility]

2014-12-29 Thread Tony Arcieri
users who are used to being able to see the structure of threaded conversations would get annoyed, as Discourse publishes a flat message list. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Rust Research Project Query

2014-10-08 Thread Tony Arcieri
properties about Rust programs using things like dependent types, refinement types, or otherwise. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Rust crypto highlights

2014-10-08 Thread Tony Arcieri
if data dependent timings give attackers a useful statistical signal in Rust crypto applications, even ones where the core is assembly. I am working on a library for measuring this empirically. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org

Re: [rust-dev] Rust crypto highlights

2014-10-01 Thread Tony Arcieri
they should be used for anything serious. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Rust crypto highlights

2014-09-30 Thread Tony Arcieri
and Curve41417.rs https://github.com/seb-m/curve41417.rs, which seem rather interesting to me. Yes, although they are, again lacking constant time primitives to build on. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https

Re: [rust-dev] Rust crypto highlights

2014-09-30 Thread Tony Arcieri
that are cotenant on the same hypervisor, or shared hosting systems in general. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Async Message passing.

2014-09-29 Thread Tony Arcieri
description language for messages that maps nicely to Rust's type system. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Rust crypto highlights

2014-09-29 Thread Tony Arcieri
Sidebar on SBuf: I'd be curious how it could be written completely in terms of MemoryMap, or if MemoryMap needs to be extended to support mprotect() / VirtualProtect(). On Mon, Sep 29, 2014 at 10:39 PM, Tony Arcieri basc...@gmail.com wrote: I've been trying to keep an eye on what's been brewing

Re: [rust-dev] Rust crypto highlights

2014-09-29 Thread Tony Arcieri
On Mon, Sep 29, 2014 at 10:50 PM, Daniel Micay danielmi...@gmail.com wrote: MemoryMap doesn't support controlling memory protections. Will it ever, or is the recommended approach to brew your own MemoryMap-alike like SBuf is presently doing? ___

Re: [rust-dev] On the use of unsafe

2014-09-22 Thread Tony Arcieri
;) -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] On the use of unsafe

2014-09-22 Thread Tony Arcieri
already have enough work on your plate as-is. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] On the use of unsafe

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

Re: [rust-dev] On the use of unsafe

2014-09-22 Thread Tony Arcieri
be an error. I can totally understand omitting these sorts of things until there is a formal correctness check in the complier. At the same time, these are the sorts of cases I feel need to be called out while they're fresh in people's minds. -- Tony Arcieri

[rust-dev] On the use of unsafe

2014-09-21 Thread Tony Arcieri
a memory safety standpoint? I think something like that would be pretty cool. insecure ? ;) -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] On the use of unsafe

2014-09-21 Thread Tony Arcieri
On Sun, Sep 21, 2014 at 1:34 AM, Daniel Micay danielmi...@gmail.com wrote: It's not possible to represent the semantics of 'insecure' in the language as that's very poorly defined and varies across domains and libraries. I'd define it as think before you use this -- Tony Arcieri

Re: [rust-dev] On the use of unsafe

2014-09-21 Thread Tony Arcieri
it, gotta ship 1.0 before anyone gets a pony? ;) On Sun, Sep 21, 2014 at 1:41 AM, Tony Arcieri basc...@gmail.com wrote: I'd also note: having a way of calling out these sorts of cases explicitly is enormously beneficial to code reviewers. It provides an easily greppable way to find where to focus

Re: [rust-dev] On the use of unsafe

2014-09-21 Thread Tony Arcieri
really provide any specific features for security beyond memory safety, but it should be possible to extend the language to support things like information-flow security, etc. Yeah, the paper I linked describes using dependent types to do what is effectively taint checking by proof -- Tony

Re: [rust-dev] Rust Guidelines

2014-07-13 Thread Tony Arcieri
? -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Mutiplexing I/O within a task

2014-07-06 Thread Tony Arcieri
a dedicated task (or pool of tasks) that performs I/O operations for you, sending completions back as messages over the normal std::comm message protocol, ala Erlang's ioserver. Perhaps it's relevant to bring up again? -- Forwarded message -- From: Tony Arcieri basc...@gmail.com Date

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-26 Thread Tony Arcieri
Thought I'd just throw this one on the fire ;) http://blog.securitymouse.com/2014/06/raising-lazarus-20-year-old-bug-that.html ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-26 Thread Tony Arcieri
thinks can be avoided will be avoided. I know you're not fans of a compiler flag, but a checked debug build with traps you can optimize out in an optimized build could've caught it. As it were, this is what Swift provides (in addition to explicit overflow operators) -- Tony Arcieri

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-23 Thread Tony Arcieri
operators as the One True Way To Do Math, well, that's your prerogative. I will probably still choose Rust over Swift. But then I feel like Rust might be missing out on the free lunch I expect Swift to provide, which is sad if that's the way the cookie crumbles... -- Tony Arcieri

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-23 Thread Tony Arcieri
O Mon, Jun 23, 2014 at 2:08 PM, Tony Arcieri basc...@gmail.com wrote: Want to perform well at TIOBE or other (micro)benchmarks? Use the overflow operators! I meant http://shootout.alioth.debian.org here, but yeah, I hope you get the idea ;) -- Tony Arcieri

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-23 Thread Tony Arcieri
how it works today, besides adding new functionality. I'm just proposing that the new functionality mirror what Swift is doing, so that optimizations that are added to LLVM by Apple/Swift can be leveraged by Rust too. Make sense? -- Tony Arcieri ___ Rust

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-23 Thread Tony Arcieri
. To flip the question around: what's wrong with Swift's approach? -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-23 Thread Tony Arcieri
On Mon, Jun 23, 2014 at 3:08 PM, Tony Arcieri basc...@gmail.com wrote: To flip the question around: what's wrong with Swift's approach? Or perhaps to ask a less pointed question, what's wrong with Swift's approach besides making the slow operators the default? -- Tony Arcieri

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-21 Thread Tony Arcieri
today would be obsolete and broken. In the distant future. But still... -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-21 Thread Tony Arcieri
future CPUs may make fast), and provide a secondary mechanism to get the unsafe fast path? -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-18 Thread Tony Arcieri
://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/swift_programming_language/AdvancedOperators.html#//apple_ref/doc/uid/TP40014097-CH27-XID_37 -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org

Re: [rust-dev] Appeal for CORRECT, capable, future-proof math, pre-1.0

2014-06-09 Thread Tony Arcieri
/TP40014097-CH27-XID_37 -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Deprecating rustpkg

2014-06-07 Thread Tony Arcieri
You might want to check out this thread... Mozilla is sponsoring work on a new Rust package manager called Cargo: https://mail.mozilla.org/pipermail/rust-dev/2014-March/009090.html -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https

Re: [rust-dev] Cryptography Library

2014-05-13 Thread Tony Arcieri
a standard way to MemoryMap an mlocked buffer with guard pages that are PROT_NONE? I've been working on a SecretBuffer type for my library ClearCrypt, but I'd really like to see something like that in Rust proper (even if it's just flags for MemoryMap) -- Tony Arcieri

Re: [rust-dev] Cryptography Library

2014-05-05 Thread Tony Arcieri
is ChaCha20. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] UTF-8 strings versus encoded ropes

2014-05-01 Thread Tony Arcieri
no! Please no. This is what Ruby does and it's a complete nightmare. This creates an entire new class of bug when operations are performed on strings with incompatible encodings. It's an entire class of bug that simply doesn't exist if you just pick a standard encoding and stick to it. -- Tony

Re: [rust-dev] UTF-8 strings versus encoded ropes

2014-05-01 Thread Tony Arcieri
at runtime. This can happen long after a string has crossed the I/O boundary. The result is errors which pop up at runtime in odd circumstances. This is nothing short of a fucking nightmare to debug. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev

Re: [rust-dev] UTF-8 strings versus encoded ropes

2014-05-01 Thread Tony Arcieri
failure mode as Ruby (transcoding blowing up at completely unexpected times) with even more complexity, making it even harder to debug. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] UTF-8 strings versus encoded ropes

2014-05-01 Thread Tony Arcieri
Rust is doing something that's close to what I'd consider to be the right thing. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Cryptol, the language of cryptography

2014-04-27 Thread Tony Arcieri
auditors, preferably by multiple, independent auditors. Having crypto in the standard library limits agility around shipping security updates, since now you must update the entire standard library, and not just one library. -- Tony Arcieri ___ Rust-dev mailing

Re: [rust-dev] Large Collection of rustc builds

2014-04-14 Thread Tony Arcieri
Thompsonesque backdoors? ;) -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Compiling with no bounds checking for vectors?

2014-03-28 Thread Tony Arcieri
on handwavy premature optimization. Based on that, I must say I abjectly reject your ideas. I suggest you better formalize them, measure, and present a more concrete plan which is rooted in empirical measurement, not hey I don't know what the hell I'm talking about but think this thing is slow -- Tony

Re: [rust-dev] Compiling with no bounds checking for vectors?

2014-03-28 Thread Tony Arcieri
On Fri, Mar 28, 2014 at 6:55 PM, Daniel Micay danielmi...@gmail.com wrote: You can already use unchecked indexing in any case where there's a performance issue so I don't really understand what the fuss is about. Confirm. This entire thread seems like much ado about nothing. -- Tony Arcieri

[rust-dev] Proposal: a moratorium on adding unsafe features to the safe subset of Rust

2014-03-28 Thread Tony Arcieri
where it can answer these sort of concerns, and that those who make requests to flip off Rust's various safety features in the safe subset of the language be gently guided towards the unsafe set of the language while keeping the safe semantics exactly how they are. -- Tony Arcieri

Re: [rust-dev] Proposal: a moratorium on adding unsafe features to the safe subset of Rust

2014-03-28 Thread Tony Arcieri
' is an oxymoron. On 03/28/2014 08:12 PM, Tony Arcieri wrote: I really love the semantics of the safe subset of Rust. Recently there has been a call to introduce an optional feature flag which removes bounds checks to the *safe* subset of Rust (i.e. outside of unsafe blocks) I think this sort

Re: [rust-dev] Regexp lib

2014-03-27 Thread Tony Arcieri
On Thu, Mar 27, 2014 at 10:25 AM, Vladimir Lushnikov vladi...@slate-project.org wrote: We do really need a good parser generator for rust though... Ragel has a Rust backend (not that I've used it) -- Tony Arcieri ___ Rust-dev mailing list Rust-dev

Re: [rust-dev] Compiling with no bounds checking for vectors?

2014-03-27 Thread Tony Arcieri
not sure what your QA process normally entails, but can it guarantee a build that is free of errors with *zero margin for failure*? Anything less is a step back from what Rust currently provides, IMO. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev

Re: [rust-dev] Goto statement missing

2014-03-23 Thread Tony Arcieri
of emitting? Can it do labeled break/continue to generate jump-driven FSMs the same way it does with Java? -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Goto statement missing

2014-03-23 Thread Tony Arcieri
On Sun, Mar 23, 2014 at 11:50 AM, Corey Richardson co...@octayn.net wrote: Yes. Cool! Who needs goto then? ;) -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Language to replace C

2014-03-04 Thread Tony Arcieri
On Tue, Mar 4, 2014 at 11:43 AM, John Mija 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 runtime and garbage collector. -- Tony Arcieri

Re: [rust-dev] Language to replace C

2014-03-04 Thread Tony Arcieri
, this problem will be solved when the compiler and linker been build in Go, instead of C. Go allows unsafely shared memory as part of the core language. Game over man, game over -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https

Re: [rust-dev] Language to replace C

2014-03-04 Thread Tony Arcieri
be transformed to whatever language --once there is a transformer--. You realize Rust is suitable for this stuff today (or at least soon), right? Do you have an argument against Rust more cogent than Rust is hard, let's go shopping? -- Tony Arcieri

[rust-dev] Faster hashDoS-proof hashing

2014-02-26 Thread Tony Arcieri
startup. In the wild universal hashing is used for things like UMAC: http://en.wikipedia.org/wiki/UMAC -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Faster hashDoS-proof hashing

2014-02-26 Thread Tony Arcieri
. I'd suggest the default hash function be hashDoS proof (since attacker-controlled data has the tendency to leak deep into programs), however a specifically performance-oriented hash/map (which isn't hashDoS/collision resistant) should be available for those who want to opt into it. -- Tony Arcieri

Re: [rust-dev] Faster hashDoS-proof hashing

2014-02-26 Thread Tony Arcieri
on On Wednesday, February 26, 2014, Tony Arcieri basc...@gmail.com wrote: Rust is using SipHash for std::hash (I believe?). This is a great conservative choice that mitigates hashDoS. However, it'd be nice if there were a faster option which still prevented an attacker from colliding parameters, right

Re: [rust-dev] issue numbers in commit messages

2014-02-18 Thread Tony Arcieri
too: https://www.kernel.org/pub/software/scm/git/docs/git-notes.html -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Deprecating rustpkg

2014-02-04 Thread Tony Arcieri
On Tue, Feb 4, 2014 at 2:29 AM, Jordi Boggiano j.boggi...@seld.be wrote: I just hope whoever starts working on a new spec announces it clearly THIS -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo

[rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
compatibility is hard, let's go shopping! school of thought sounds nice in theory, but with nearly a decade of battle scars from working with a system like that (RubyGems), my experience tells me it's a terrible, terrible idea in practice... -- Tony Arcieri

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
gemsets) was added to work around the impedance mismatch between the package manager and the dependency resolver. I hope Rust will not make the same mistake for lack of better planning. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
) algorithm from depending on rust-json 1.0, 1.1, 1.2, 1.3, 1.4, 2.0, 2.1, and 2.2 simultaneously? What if some of these are buggy, but the fixed versions aren't used due to version pinning? What if rust-json 1.0 has a security issue? -- Tony Arcieri ___ Rust

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
, that the package maintainers release a hotfix for all major versions. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
of a particular package -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
on the given constraints, and concrete examples of how it would work. Maven doesn't support this Uhh, yes it does? http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution#DependencyMediationandConflictResolution-DependencyVersionRanges -- Tony Arcieri

Re: [rust-dev] Moving libcrypto back into rust repo?

2014-01-29 Thread Tony Arcieri
On Wed, Jan 29, 2014 at 1:12 PM, Daniel Micay danielmi...@gmail.com wrote: I don't think it's possible to make a nice NSS binding because it depends on thread-local initialization. :( -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org

Re: [rust-dev] Function shipping

2014-01-28 Thread Tony Arcieri
at the same time. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] RFC: New Rust channel proposal

2014-01-23 Thread Tony Arcieri
if you have anything valuable to add that isn't bikeshedding! :) As probably the primary instigator of this change, I'd just like to say you've done a great job resolving my original complaints, thanks ;) -- Tony Arcieri ___ Rust-dev mailing list Rust-dev

Re: [rust-dev] RFC: New Rust channel proposal

2014-01-23 Thread Tony Arcieri
My vote, FWIW let (sender, receiver) = Chan::open(); -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

[rust-dev] Improving rustc error messages

2014-01-21 Thread Tony Arcieri
://github.com/strangeloop/StrangeLoop2013/blob/master/slides/sessions/Adams-TakingPHPSeriously.pdf -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Improving rustc error messages

2014-01-21 Thread Tony Arcieri
I see there's some work underway of this nature ;) https://github.com/mozilla/rust/pull/11718 On Tue, Jan 21, 2014 at 9:48 PM, Tony Arcieri basc...@gmail.com wrote: I think the biggest thing I've struggled with learning Rust is what I will call, for lack of a better phrase, shit rustc says

Re: [rust-dev] Improving rustc error messages

2014-01-21 Thread Tony Arcieri
of the best diagnostics around for new statically-typed languages. But there is always room for improvement of course. #11718 is a great example. If there are other specific things that particularly bug me, I'll let you know ;) -- Tony Arcieri ___ Rust-dev

Re: [rust-dev] sticker

2014-01-14 Thread Tony Arcieri
and say you enjoyed it. -- Zora Neale Hurston ___ 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

Re: [rust-dev] RFC: New Rust channel proposal

2014-01-14 Thread Tony Arcieri
succeeded, the channel is full, or the channel is closed (the last two cases returning the message). In the special case where the channel bound is 0, we don't use a ringbuffer and just do a rendezvousing send and recieve. The default bound is 0. Nice! This sounds awesome. -- Tony Arcieri

Re: [rust-dev] Call for central external packages repository

2014-01-13 Thread Tony Arcieri
highly encourage taking a look at The Update Framework as a way to build *secure* software update systems: https://github.com/theupdateframework/tuf -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

[rust-dev] Ephemeral byte arrays for cryptographic keys/plaintexts

2014-01-10 Thread Tony Arcieri
, at least if all the crypto libraries used it, because this type would take care of doing all of this sort of thing for you automatically. Most other languages completely punt on this problem. Can Rust do better? Is this the sort of thing that belongs in the Rust standard library? -- Tony Arcieri

Re: [rust-dev] Ephemeral byte arrays for cryptographic keys/plaintexts

2014-01-10 Thread Tony Arcieri
! This sounds like a general IO optimisation, which virtually any block-based io use-case could benefit from. Yup! Can we solve it? ;) -- 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 Tony Arcieri
-- Tony Arcieri ___ 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-04 Thread Tony Arcieri
to spot. I've run into cases where we didn't spot problems until we deployed to production because the production section of a configuration file was misindented. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org

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

2014-01-04 Thread Tony Arcieri
. Is it a bad idea? Offhand I can't say: what would you replace it with? -- Tony Arcieri ___ 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-04 Thread Tony Arcieri
of something else. So if we're talking to a payment gateway, our automated tests should run against the live payment gateway? Surely you see there are many cases where this simply doesn't work. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org

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

2014-01-04 Thread Tony Arcieri
indenting your code correctly anyway. Anyway, that's my two cents. I am not a fan of whitespace sensitivity. -- Tony Arcieri ___ 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-04 Thread Tony Arcieri
another YAML file that someone started with 2-space tabs? Do you convert everything to 8? Use 8-space tabs just for your stuff and leave the rest of the file with 2-space tabs? I would venture to guess that 8-space YAML files are exceedingly uncommon. I'd also say 8-space tabs are ugly. -- Tony

Re: [rust-dev] Unbounded channels: Good idea/bad idea?

2013-12-31 Thread Tony Arcieri
-class primitives. Crazy idea: push channels out of the standard library ala libgreen/libnative, and provide a trait for channel-alikes. Come up with a least common denominator protocol, and ensure all channel-alikes support it. -- Tony Arcieri ___ Rust-dev

Re: [rust-dev] Unbounded channels: Good idea/bad idea?

2013-12-27 Thread Tony Arcieri
expressed for all runtime conditions. This is an excellent point, thank you! So here's a big question: if Rust tasks and channels were the underpinnings of an operating system kernel, would unbounded channels be suitable or not? -- Tony Arcieri ___ Rust-dev

Re: [rust-dev] Unbounded channels: Good idea/bad idea?

2013-12-25 Thread Tony Arcieri
. I've helped many people debug overloaded systems that didn't have sufficient mechanisms for internal backpressure between actors in Celluloid. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Unbounded channels: Good idea/bad idea?

2013-12-25 Thread Tony Arcieri
will generally have non-message events -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

[rust-dev] [ANN] irust 1.0.0: a REPL for the Rust programming language (powered by Ruby)

2013-12-22 Thread Tony Arcieri
this because I'm a REPL-lover and Rust's existing REPL is broken. It's not meant to be a permanent REPL for Rust, but a stopgap solution for those who want a REPL until Rust ships a working one. Enjoy! -- Tony Arcieri ___ Rust-dev mailing list Rust-dev

Re: [rust-dev] Unbounded channels: Good idea/bad idea?

2013-12-19 Thread Tony Arcieri
Rust programs don't grow until they consume system resources and OOM. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

[rust-dev] Unbounded channels: Good idea/bad idea?

2013-12-18 Thread Tony Arcieri
) that will confer maximum performance. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Persistent data structures

2013-12-03 Thread Tony Arcieri
On Tue, Dec 3, 2013 at 11:28 PM, Isaac Dupree m...@isaac.cedarswampstudios.org wrote: I'm interested in having persistent data structures[1] in Rust. Nice! -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org

Re: [rust-dev] do

2013-11-30 Thread Tony Arcieri
profound effect, IMO. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev