thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen George (JIRA)" <>
Subject [jira] [Commented] (THRIFT-2945) Implement support for Rust language
Date Wed, 15 Feb 2017 13:14:41 GMT


Allen George commented on THRIFT-2945:

Extracting {{write_from...}} and {{read_from...}}: Ok. Your points make sense. Please name
the new trait {{TSerializable}} then.

Doubles: Hmm, so you ran everything outlined in the [README|]?
A minimal test type would be:

struct SomeStruct {
  1: double bare_double
  2: map<double, double> mapped_doubles
  3: set<double> set_of_doubles

Ah. Looks like it was an oversight on my part (I think?) I notice that there is a {{Hash}}
implementation for ordered float. This is ideal because I can replace the {{BTree...}} versions
of maps and sets with hashes if they work. That said, I only want to do that if it's an "all
or nothing" move; I want to avoid flags in code generation.

Namespaces: Can you confirm that all the steps in the README work? I would also update the
service inheritance [test|] to ensure
that two identically named types can be referred to properly. For example:

Base_One.thrift: Define a struct "Foo"
Ultimate.thrift: Define another struct "Foo"; create a service call that uses Base_One.Foo
and Ultimate.Foo

> Implement support for Rust language
> -----------------------------------
>                 Key: THRIFT-2945
>                 URL:
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Rust - Compiler, Rust - Library
>            Reporter: Maksim Golov
>            Assignee: Allen George
>             Fix For: 0.11.0
> Work on implementing support for Rust is in progress:
by Simon GĂ©nier and myself.
> It will probably take quite some time to complete. Please keep us updated if there are
changes related to our work.

This message was sent by Atlassian JIRA

View raw message