Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dwrensha
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
dwrensha
11y ago
As a counterpoint, here's a 2011 video of Bryan Cantrill claiming that it is "emphatically not the case" that the CDDL was specifically developed to be GPL-incompatible: https://youtu.be/-zRN7XLCRhc?t=1375
32.
▲
by
dwrensha
11y ago
> the serialization part isn't separate they are in one library Although Cap'n Proto's C++ implementation is hosted in a single git repository, it does compile to several distinct libraries. You can use just the core seria
33.
▲
by
dwrensha
11y ago
Groove Basin also has one of these buttons! http://groovebasin.com/
34.
▲
by
dwrensha
12y ago
Try it here: https://demo.sandstorm.io/appdemo/zx9d3pt0fjh4uqrprjftgpqfwg... Read about it here: https://blog.sandstorm.io/news/2015-01-21-gitweb-and-gitlab....
35.
▲
by
dwrensha
12y ago
For what it's worth, I pronounce "Cap'n" to rhyme with "happen", and sometimes I fall back to saying "Captain Proto".
36.
▲
Capnproto-java alpha release with benchmarks
(dwrensha.github.io)
2 points
by
dwrensha
12y ago
|
0 comments
37.
▲
by
dwrensha
12y ago
Yep. You could fork our WordPress port[1], repackage it as your own app, and run it on any Sandstorm server. [1] https://github.com/dwrensha/wordpress-sandstorm
38.
▲
by
dwrensha
12y ago
Cap'n Proto is relatively new, so yes, the tooling is less mature than for more established protocols. We've been making steady progress, though, and things are definitely usable right now. E.g. CloudFlare is reportedly using the
39.
▲
by
dwrensha
13y ago
The Encodable trait sounds convenient for lots of use cases. However, speed and convenience are not the only things you might want; multi-language support and protocol evolvability are often also important, and when they are, something like
40.
▲
by
dwrensha
13y ago
I can personally attest that it is straightforward to port Linux-based web apps to work on Sandstorm. Over the weekend, I ported a game of mine. You can play an instance of it here (warning, makes sound): https://alpha.sandstorm.
41.
▲
by
dwrensha
13y ago
I can personally attest that if you have a Linux-based web app, then porting it to Sandstorm is straightforward. Over the weekend, I ported a game of mine to Sandstorm. You can play an instance of it here: https://alpha.sandstorm
42.
▲
by
dwrensha
13y ago
You're probably thinking of the original version of Cap'n Proto's schema parser, which was written in Haskell. The code generation step that it helped to handle is not a part of this benchmark. As far as I know, nobody has wr
43.
▲
by
dwrensha
13y ago
Pycapnp is not pure Python. It wraps Cap'n Proto's C++ dynamic API. See http://kentonv.github.io/capnproto/otherlang.html#supporting... .
44.
▲
by
dwrensha
13y ago
See this thread on the Cap'n Proto mailing list for some idea of how well Python does on this benchmark: https://groups.google.com/forum/#!topic/capnproto/BDpV6WEG5B...
45.
▲
Updated benchmark: capnproto-rust vs. c++
(dwrensha.github.io)
77 points
by
dwrensha
13y ago
|
18 comments
46.
▲
by
dwrensha
13y ago
I think the healthy library ecosystem is due in so small part to the fact that a lot of people want to learn Rust; porting an existing library can be an excellent way to do that.
47.
▲
A data pipeline built with capnproto-rust and ZeroMQ
(dwrensha.github.io)
40 points
by
dwrensha
13y ago
|
3 comments
48.
▲
by
dwrensha
13y ago
I've been playing around with Cap'n Proto for six months now, and it continues to impress me. The original killer feature for me was the clean type system, but there's a lot more cool stuff going on, and a lot more to come, a
49.
▲
by
dwrensha
13y ago
I don't think there's a problem here. We get two functions with a monad m: bind :: m a -> (a -> m b) -> m b return :: a -> m a These allow us to define then :: m a -> (a -> b) -> m b then x f = bind x (return