You can argue about the merits of wanting such a UI, but given that the Monodraw developer does, creating a Mac-only app is the only option.
590 karma · joined May 24, 2014
davekeck at gmail
You can argue about the merits of wanting such a UI, but given that the Monodraw developer does, creating a Mac-only app is the only option.
I didn't mean to imply that this project even remotely implements CSP. What I mean to say is that this library is an implementation of the channel primitive associated with CSP. I mentioned CSP to give the project some context outside of Go.
And yes, the pointer can still be mucked with after sending over an eb_chan; perhaps I should call them "cooperative channels," meaning the sender agrees to cooperate with the receiver and not modify the data after sending.
> Who's meant to deal with freeing? Do you necessitate GC?
eb_chan instances are reference-counted, so any entity that needs to ensure its existence should retain the channel, and release it when it no longer requires its existence.
I decided to make eb_chan a reference-counted type instead of using an alloc/free pattern because the former is much more flexible in a multithreaded environment. Furthermore, the RC pattern is a superset of the alloc/free pattern, so if you prefer to use it as such, just never retain the instance after creation.
> It's also fairly distasteful that all type safety is discarded.
I agree, but so far I haven't found a better way given that the target language is C. I've thought about using some preprocessor magic to allow defining of custom eb_chan types, I may have to revisit that.
Thanks again!
eb_chan provides the full range of functionality of Go channels, including blocking and non-blocking selects on an arbitrary number of sends and receives.
Two focuses of this project are to maximize throughput and minimize resource consumption. To maximize throughput, eb_chan includes a fast-path (to avoid making system calls) which consists merely of acquiring a spinlock and modifying a structure. To minimize resource consumption, eb_chan avoids using scarce resources, such as file-descriptor-based primitives like UNIX pipes. Instead, eb_chan uses Mach semaphores (semaphore_t) on Darwin, and POSIX semaphores (sem_t) on Linux, both of which can be allocated on the order of 10^5 without hitting resource limits.
Feedback appreciated!
- Go through your entire credit history over a six month period looking for illegitimate charges. (Many people, such as myself, use a single credit card for most of their payments -- that's thousands of transactions.)
- Wait a week for a new credit card to arrive in the mail, and hope none of your automatic payments try to charge the old card while you wait for the new one.
- Update all of your automatic payments. Doing it once would be one thing, but every time one these breaches happens?
None of these are the end of the world, but they're certainly not "no damages".
As the article mentions, a poor family getting their only vehicle towed could devastate them, while it's only a mild inconvenience for someone that can afford a limo to pick their towed Ferrari up. That doesn't seem like the optimal system.
The question is whether we need the NSA, and whether we're willing to forfeit our rights and principles to provide them with all information.
The solution is named arguments, but I'm not convinced the added complexity of this solution is a net improvement.
X is my boyfriend: physically strong, just wants sex, doesn't do laundry, generally messy, checks out my friends
Personally I wouldn't be offended if someone presented the slide above, and I have a hard time imagining that there'd be an uprising about it. To me this clearly indicates a double standard. So where should we draw the line on gender stereotypes, to be applied equally to both sexes? I can't answer that, but I think the above analogy shows that people are being hypersensitive.
Of course such a transition would require developers to re-compile their software for the new platform, though I imagine Apple would make "Rosetta 2" to run x86 software of ARM processors.
I wonder how much Apple cares about users not being able to boot Windows. I suspect not much.