Skip to content

Instantly share code, notes, and snippets.

@brson
brson / .gitignore
Last active November 23, 2016 02:34 — forked from linclark/main.rs
target

Regression report stable-2016-07-05 vs. beta-2016-07-06

  • From: stable-2016-07-05
  • To: beta-2016-07-06

Coverage

  • 5623 crates tested: 3143 working / 1718 broken / 7 regressed / 9 fixed / 746 unknown.

Regressions

Regression report stable-2016-07-05 vs. nightly-2016-07-15

  • From: stable-2016-07-05
  • To: nightly-2016-07-15

Coverage

  • 5429 crates tested: 2727 working / 1432 broken / 294 regressed / 240 fixed / 736 unknown.

Regressions

Announcement:

With Rust's first birthday party upon us on May 15th, 2016, this is an opportunityt to reflect on where we've been, and where we're going. To celebrate, we are pleased to announce the official 2016 State of the Rust Language Survey! Whether you use Rust today or not, we want to know your opinions. Your responses will help the project understand its strengths and weaknesses, and to establish development priorities for the future.

Survey

Completing this survey should take about 10 to 15 minutes. We will be accepting submissions until June 8th, 2016.

Please help us spread the word by sharing the above link on your social network feeds, at meetups, and around your office and other communities.

target
doc

Network Communication And Serialization In Rust

Computers surround us. While some devices are useful on their own, many are unable to function unless networked to other, remote systems. Accordingly, network communication is an obvious use case where [Rust][9]'s value proposition can be demonstrated (XXX this isn't making the case that Rust is good at networking - what is the value proposition re: networking + Rust. It may be better to emphasize that Rust has particular strengths for networking applications, or not try to make this point at all). While my [previous post][14] in this series focused on file-IO (XXX: 'file I/O'), this post will explore the standard library's API for communication over TCP/IP, providing code for a primitive server that responds to requests from a web browser, as a nod to utility and expedience (XXX I don't understand the 'utility and expedience' point). As a further complement to IO (XXX: 'I/O'), Rust's serialization API will be introduced. These two things together help prog

@brson
brson / gist:1679583
Created January 25, 2012 23:14 — forked from nikomatsakis/gist:1679581
etags-select
;;; etags-select.el --- Select from multiple tags
;;; From http://www.emacswiki.org/emacs/download/etags-select.el
;; Copyright (C) 2007 Scott Frazer
;; Author: Scott Frazer <frazer.scott@gmail.com>
;; Maintainer: Scott Frazer <frazer.scott@gmail.com>
;; Created: 07 Jun 2007
;; Version: 1.13
;; Keywords: etags tags tag select
@brson
brson / gist:1625144
Created January 17, 2012 06:24 — forked from killerswan/gist:1625138
reserve_empty
fn reserve_empty(nn: uint) -> str unsafe {
// start with a null-terminated 0-length string
let ss = "";
// make a vector
let vv: [u8] = unsafe::reinterpret_cast(ss);
unsafe::leak(ss);
// expand it to size + \0
vec::reserve(vv, nn+1u);