Re: [jira] [Created] (ARROW-4678) [Rust] Minimize unstable feature usage

2019-02-26 Thread Renjie Liu
+1 for this proposal.
By the way, maybe it's a better idea to split these changes into small
patcher rather than a big one so that we can review them one by one.

On Tue, Feb 26, 2019 at 8:58 AM Steven Fackler (JIRA) 
wrote:

> Steven Fackler created ARROW-4678:
> -
>
>  Summary: [Rust] Minimize unstable feature usage
>  Key: ARROW-4678
>  URL: https://issues.apache.org/jira/browse/ARROW-4678
>  Project: Apache Arrow
>   Issue Type: Improvement
>   Components: Rust
> Affects Versions: 0.12.0
> Reporter: Steven Fackler
>
>
> The Rust implementation currently uses quite a few nightly features. This
> is unfortunately a hard blocker on using these crates for many users.
>
> Here's the list of currently use nightly features:
>  * type_ascription: Unused, can be trivially removed.
>  * rustc_private: Unused, can be trivially removed.
>  * box_syntax: Indefinitely far from stabilization, trivially replaceable
> with Box::new.
>  * box_patterns: Indefinitely far from stabilization, replaceable with
> some minor restructuring of a couple of matches.
>  * serde's alloc feature: Unused, can be trivially removed.
>  * try_from: Scheduled for stabilization in Rust 1.35.
>  * specialization: Actively being worked on - maybe ~1 year timeframe?
>  * packed_simd: Actively being worked on - maybe ~1 year timeframe?
>
> The first set of features are easy enough to get rid of - I'll make a PR
> to do that (https://github.com/sfackler/arrow/tree/more-stable). I'm a
> bit less sure of what to do with specialization and packed_simd, though.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v7.6.3#76005)
>


-- 
Renjie Liu
Software Engineer, MVAD


[jira] [Created] (ARROW-4678) [Rust] Minimize unstable feature usage

2019-02-25 Thread Steven Fackler (JIRA)
Steven Fackler created ARROW-4678:
-

 Summary: [Rust] Minimize unstable feature usage
 Key: ARROW-4678
 URL: https://issues.apache.org/jira/browse/ARROW-4678
 Project: Apache Arrow
  Issue Type: Improvement
  Components: Rust
Affects Versions: 0.12.0
Reporter: Steven Fackler


The Rust implementation currently uses quite a few nightly features. This is 
unfortunately a hard blocker on using these crates for many users.

Here's the list of currently use nightly features:
 * type_ascription: Unused, can be trivially removed.
 * rustc_private: Unused, can be trivially removed.
 * box_syntax: Indefinitely far from stabilization, trivially replaceable with 
Box::new.
 * box_patterns: Indefinitely far from stabilization, replaceable with some 
minor restructuring of a couple of matches.
 * serde's alloc feature: Unused, can be trivially removed.
 * try_from: Scheduled for stabilization in Rust 1.35.
 * specialization: Actively being worked on - maybe ~1 year timeframe?
 * packed_simd: Actively being worked on - maybe ~1 year timeframe?

The first set of features are easy enough to get rid of - I'll make a PR to do 
that (https://github.com/sfackler/arrow/tree/more-stable). I'm a bit less sure 
of what to do with specialization and packed_simd, though.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)