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

2015-08-11 Thread Tony Arcieri
On Tue, Aug 11, 2015 at 6:58 PM, Sean McArthur 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 F

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

2015-08-11 Thread Tony Arcieri
ral Rust 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] Rust discourse visibility [Was: Tail call compatibility]

2014-12-29 Thread Tony Arcieri
ers 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 crypto highlights

2014-10-08 Thread Tony Arcieri
ta 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@mozil

Re: [rust-dev] Rust Research Project Query

2014-10-08 Thread Tony Arcieri
st for proving 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-01 Thread Tony Arcieri
scrutiny before 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
monstrates >> over-the-network AES key recovery using cache timing sidechannels in >> OpenSSL: >> >> http://cr.yp.to/antiforgery/cachetiming-20050414.pdf >> >> Things get worse when you're talking about two VMs that are cotenant on >> the same hyperv

Re: [rust-dev] Rust crypto highlights

2014-09-30 Thread Tony Arcieri
bout two VMs 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] Rust crypto highlights

2014-09-30 Thread Tony Arcieri
: crypto.rs > <https://github.com/seb-m/crypto.rs> 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

Re: [rust-dev] Rust crypto highlights

2014-09-29 Thread Tony Arcieri
On Mon, Sep 29, 2014 at 10:50 PM, Daniel Micay 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? ___ Rust-dev mailing list Rus

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 wrote: > I've been trying to keep an eye on what's been b

[rust-dev] Rust crypto highlights

2014-09-29 Thread Tony Arcieri
does no memory protections around keying material or internal cipher state. -- 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
rd the response" It also provides a typed 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] On the use of unsafe

2014-09-22 Thread Tony Arcieri
d data in secure strings. There are many systems today in which this would 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 fee

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

2014-09-22 Thread Tony Arcieri
failure to sanitize input, affecting vulnerabilities like XSS, SQLi, and LDAP injection. I am absolutely certain this affects systems like Servo as well ;) Preventing untrusted data from penetrating the secure contexts of the program using the type system has the potential to mitigate the most co

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

2014-09-22 Thread Tony Arcieri
know you 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
any sort of templating would be a lot more interesting. Maybe in Rust 9.0 ;) -- 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
Rust doesn’t 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

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

2014-09-20 Thread Tony Arcieri
et it, gotta ship 1.0 before anyone gets a pony? ;) On Sun, Sep 21, 2014 at 1:41 AM, Tony Arcieri 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 fo

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

2014-09-20 Thread Tony Arcieri
39 AM, Tony Arcieri wrote: > On Sun, Sep 21, 2014 at 1:34 AM, Daniel Micay > 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. > > &g

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

2014-09-20 Thread Tony Arcieri
On Sun, Sep 21, 2014 at 1:34 AM, Daniel Micay 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

[rust-dev] On the use of unsafe

2014-09-20 Thread Tony Arcieri
ut not necessarily from 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] Rust Guidelines

2014-07-13 Thread Tony Arcieri
On Fri, Jul 11, 2014 at 11:49 AM, Aaron Turon wrote: > The best part: approved guidelines can turn into (1) new github issues to > bring libstd into line and (2) an authoritative way to resolve debates on > libstd PRs. How about a gofmt-like source code reformatting utility? -- Ton

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

2014-07-06 Thread Tony Arcieri
providing I/O "as a service" by having 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

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

2014-06-26 Thread Tony Arcieri
ogrammer 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 overf

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-23 Thread Tony Arcieri
On Mon, Jun 23, 2014 at 3:08 PM, Tony Arcieri 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

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

2014-06-23 Thread Tony Arcieri
izations. > 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
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
O Mon, Jun 23, 2014 at 2:08 PM, Tony Arcieri 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 ;) -- Ton

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

2014-06-23 Thread Tony Arcieri
rflow being the default. If the Rust developers insist on choosing overflow 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

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

2014-06-23 Thread Tony Arcieri
antics, and Apple were to submit its LLVM optimizations for this upstream, I feel like Rust could reap many of the benefits too. -- 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
PUs 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-21 Thread Tony Arcieri
t Rust provides as a baseline 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-18 Thread Tony Arcieri
ked operations or otherwise desire overflow behavior: https://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

Re: [rust-dev] 7 high priority Rust libraries that need to be written

2014-06-10 Thread Tony Arcieri
love to see organizations who use Rust (*wink* *wink* *nudge* *nudge* Mozilla) contribute to and help fund professional security audits like rust-crypto! :D Sidebar: I am also working on a Rust crypto library (ClearCrypt) but its goals are somewhat orthogonal to the needs

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

2014-06-09 Thread Tony Arcieri
tml#//apple_ref/doc/uid/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
lower hanging fruit, how about 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 pro

Re: [rust-dev] Cryptography Library

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

[rust-dev] Announcing ClearCrypt: a new transport encryption library

2014-05-04 Thread Tony Arcieri
these goals. Every commit will be approved by multiple people once it has been thoroughly audited. First up: the choice of a license: https://github.com/clearcrypt/clearcrypt/pull/1 -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org

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

2014-05-01 Thread Tony Arcieri
think 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] UTF-8 strings versus "encoded ropes"

2014-05-01 Thread Tony Arcieri
e painful 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
t not another, in which case the transcoding will fail, and it will fail 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 ___

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

2014-05-01 Thread Tony Arcieri
d 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

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

2014-04-27 Thread Tony Arcieri
y security 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

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

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

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

2014-03-28 Thread Tony Arcieri
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 (

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

2014-03-28 Thread Tony Arcieri
ed to the point 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 ar

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 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

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

2014-03-28 Thread Tony Arcieri
language, based 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 a

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

2014-03-27 Thread Tony Arcieri
would do. I'm 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 maili

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

Re: [rust-dev] Goto statement missing

2014-03-23 Thread Tony Arcieri
On Sun, Mar 23, 2014 at 11:50 AM, Corey Richardson 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] Goto statement missing

2014-03-23 Thread Tony Arcieri
le 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] Language to replace C

2014-03-04 Thread Tony Arcieri
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 _

Re: [rust-dev] Language to replace C

2014-03-04 Thread Tony Arcieri
nyway, 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@moz

Re: [rust-dev] Language to replace C

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

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

2014-02-26 Thread Tony Arcieri
n On Wednesday, February 26, 2014, Tony Arcieri 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 paramete

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 wan

[rust-dev] Faster hashDoS-proof hashing

2014-02-26 Thread Tony Arcieri
pplication 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] issue numbers in commit messages

2014-02-18 Thread Tony Arcieri
thub's UI 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 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

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
ions of a package depending 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-DependencyVer

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
or and/or minor versions 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
that dependency? > I would like a constraints-based system that is able to calculate the latest API-compatible version of a given package based on rules less strict than version = X.Y.Z -- Tony Arcieri ___ Rust-dev mailing list Rust-dev

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
ackage, 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
using this (still extremely handwavey) 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 ___

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
This made RubyGems support of multiple versions of packages not only useless, but annoying, and even more cruft (e.g. rvm 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 p

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
ersion of a package vs 2) Solvable by many versions of the same package vs 3) Unsolvable Can you link me something which explains how this particular problem is resolved specifically? -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozill

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
On Fri, Jan 31, 2014 at 3:11 PM, Tony Arcieri wrote: > Can you link me something which explains how this particular problem is > resolved specifically? > Also I would really like to see an example of a problem that can be solved by multiple versions of a package which systems like Mave

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
dency resolution? Can anyone point to a real-world example of a dependency resolver which can produce solutions which may-or-may-not contain multiple versions of the same library? -- 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
problem where Maven/Bundler/apt-get/yum could not arrive on a solution that a system which supports the installation of multiple simultaneous versions could solve -- 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
> I am still confused about: 1) In what situations are you saying there would actually be a workable multi-version solution that wouldn't exist in a system like Maven 2) How these solutions are calculated -- 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
allows you to constrain the dependency to a particular *major* version without requiring pinning to a *specific* version. I would call anything that requires pinning to a specific version an antipattern. Among other things, pinning to specific versions precludes software updates which may b

[rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
" 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 ___ Rust-dev mailing list R

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
up in > practice"... > #trolololol (Sorry, that was a typo, I meant to say "this doesn't come up as often as you allege in practice") Yes, I too have been dealing with dependency resolution problems for the past 20 years... but I have also dealt with p

Re: [rust-dev] Deprecating rustpkg

2014-01-31 Thread Tony Arcieri
It's a bit silly, but certainly not irresolvable. I also don't think this comes up in practice as you allege. Perhaps it's more frequent in systems that don't have a dependency resolver... -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Deprecating rustpkg

2014-01-30 Thread Tony Arcieri
ltaneous versions of a library superior to toposorting the dependencies and coming up with a combination of versions that works for all of the project's dependencies? -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Deprecating rustpkg

2014-01-30 Thread Tony Arcieri
d to an explosion of incidental complexity in the form of things like gemsets. In the presence of a dependency resolver this feature is not only useless but annoying. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.

Re: [rust-dev] Deprecating rustpkg

2014-01-30 Thread Tony Arcieri
kages are" concepts decoupled, as well as a clear strategy for how to handle versioning. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Futures in Rust

2014-01-29 Thread Tony Arcieri
like a valid use case that is probably best addressed by cloning streams rather than splitting them. Cloning streams would allow both that use case and reduce the total number of types, as splitting would result in a "type explosion" (e.g. TcpStream,

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 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@m

Re: [rust-dev] Deprecating rustpkg

2014-01-29 Thread Tony Arcieri
is the time to scrap it and build a better one. Otherwise we'll be stuck with it forever. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

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

2014-01-29 Thread Tony Arcieri
;d be nice if there were an official "blessed" crypto package (using TBD packaging system). I think this library should/needs to be shipped with said TDB packaging system. Perhaps Mozilla could loop in its NSS people on rust-nss? -- Tony Arcieri

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

2014-01-29 Thread Tony Arcieri
y you. I would definitely not be a fan of a non-battle hardened crypto library being in core Rust. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

[rust-dev] Multiplexing I/O the Erlang way: an "ioserver"

2014-01-29 Thread Tony Arcieri
h lock-free operations to eliminate unnecessary system calls has been used somewhat successfully in the Netty I/O library for the JVM. -- Tony Arcieri ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Function shipping

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

Re: [rust-dev] Why focus on single-consumer message passing?

2014-01-24 Thread Tony Arcieri
ily performance-oriented one), the actor model (which is many-to-one by design) is probably going to be the most useful to people. Just my 2c. I see actors as a generalized, higher-level pattern that can be built atop CSP, and one I would love to see support for (in the form of an Erlang/OTP-alike f

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

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 ___ R

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

2014-01-23 Thread Tony Arcieri
On Thu, Jan 23, 2014 at 7:29 PM, Benjamin Striegel wrote: > And Chan::open() doesn't map to anything that's as intuitive. > Like File::open? :P -- 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
idea... Channel::open() https://lh3.ggpht.com/-WpuYGqCEHDg/UBznzaqReKI/B_0/0Vc8_mnnhqw/s1600/mind-blown.gif -- 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
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 __

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 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

[rust-dev] Improving rustc error messages

2014-01-21 Thread Tony Arcieri
lk on InfoQ: http://www.infoq.com/presentations/php-history Or the slides: https://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] RFC: New Rust channel proposal

2014-01-14 Thread Tony Arcieri
t; 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 so

Re: [rust-dev] sticker

2014-01-14 Thread Tony Arcieri
gt; Rust-dev@mozilla.org > > https://mail.mozilla.org/listinfo/rust-dev > > > > > > -- > Tim Chevalier * http://catamorphism.org/ * Often in error, never in doubt > "If you are silent about your pain, they'll kill you and say you enjoyed > it." > -- Zo

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

2014-01-13 Thread Tony Arcieri
, I'd 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

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

2014-01-10 Thread Tony Arcieri
ut if there are bigger fish to fry here, then cool ;) Isn't this just a dtor thing? > YES! 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

  1   2   >