From: Colin Patrick McCabe <colin.mccabe@dreamhost.com>
To: Damien Churchill <damoxc@gmail.com>
Cc: Sage Weil <sage@newdream.net>, ceph-devel@vger.kernel.org
Subject: Re: projects
Date: Tue, 30 Aug 2011 10:04:51 -0700 [thread overview]
Message-ID: <CA+qbEUPpoxeNGSd795EpjWPes8tfKkiY0hXQPh4Bo5NZ1iVd1w@mail.gmail.com> (raw)
In-Reply-To: <CAFtEh-dZbDiF7sfXpVfpcrJKy2=E+Moo+grzU1Lh_AFCkATz1A@mail.gmail.com>
On Tue, Aug 30, 2011 at 6:07 AM, Damien Churchill <damoxc@gmail.com> wrote:
> On 29 August 2011 20:08, Sage Weil <sage@newdream.net> wrote:
>> I started to make a list of smallish projects that are reasonably easy for
>> new developers to approach. The list is at
>>
>> http://ceph.newdream.net/wiki/Projects
>>
>> Any other ideas?
>>
>> sage
>>
>
> I've been working on some alternative python bindings [0], using
> Cython instead of ctypes to wrap the libraries. It's still early days
> but they're in a reasonably usable state. When I have the time I'm
> going to look at wrapping the C++ headers instead of the C ones. I
> started it as there weren't any py bindings for librbd and figured may
> as well wrap the others whilst I'm at it. No idea if it'll be useful
> for anyone else.
>
> [0] http://github.com/ukplc/pyceph
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Cython is an interesting project.
C++ makes a big deal out of being source-compatible with C. But
really, source compatibility with C is not required to have a
well-integrated system with high-level and low-level components. All
you need is the ability to link with C code and interact with it
without the hassle of something like JNI or SWIG.
For example, GCC now allows you to compile half of your project in C
and the other half in Golang. You can't mix the two in the same object
file, but they can interact pretty seamlessly.
There seems to be a trend lately to give dynamic languages a small
amount of static typing, just to give them some much-needed
performance. Javascript recently got typed arrays, and apparently it
was a huge performance boost. However, one thing that is notably
lacking in Cython is any discussion of removing the global interpreter
lock (GIL.) Unless that ever gets tackled, you'll effectively be
limited to the performance of a single core, which is a rapidly
shrinking percentage of the actual system resources. I can see there
are some workarounds in Cython like manually dropping the GIL inside a
certain section.
If you get a chance, you should check out Golang. It allows you to use
something very much like duck typing, but also get the benefits of
static typing. There are no header files, class hierarchies, or
tedious boilerplate. It also has a great concurrency mechanism that
is better than threads and yes, does use all the cores. :)
cheers,
Colin
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-08-30 17:04 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-29 19:08 projects Sage Weil
2011-08-29 23:50 ` projects Marcus Sorensen
2011-08-30 13:07 ` projects Damien Churchill
2011-08-30 17:04 ` Colin Patrick McCabe [this message]
2011-08-30 17:55 ` projects Damien Churchill
2011-09-03 22:33 ` projects Sage Weil
2011-09-05 2:15 ` projects Noah Watkins
2011-09-07 4:01 ` projects Sage Weil
2021-05-11 8:37 Projects Chris Pavlides
2021-06-03 16:34 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 12:09 Projects Jotham Masuku
2021-06-09 13:25 Projects Jotham Masuku
2021-06-09 13:40 Projects Jotham Masuku
2021-06-09 16:01 Projects Jotham Masuku
2021-06-28 9:00 Projects Jotham Masuku
2021-06-28 9:19 Projects Jotham Masuku
2021-06-28 9:25 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-28 10:13 Projects Jotham Masuku
2021-06-30 8:10 Projects Jotham Masuku
2021-07-12 18:49 Projects J Masuku
2021-07-12 18:49 Projects J Masuku
2021-07-12 18:49 Projects J Masuku
2021-08-21 22:41 Projects Chris Pavlides
2022-01-25 0:59 Projects D C Johnston
2022-01-25 14:21 Projects D C Johnston
2022-03-07 13:59 Projects E Matare
2022-03-12 12:31 Projects E Matare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+qbEUPpoxeNGSd795EpjWPes8tfKkiY0hXQPh4Bo5NZ1iVd1w@mail.gmail.com \
--to=colin.mccabe@dreamhost.com \
--cc=ceph-devel@vger.kernel.org \
--cc=damoxc@gmail.com \
--cc=sage@newdream.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.