[ https://issues.apache.org/jira/browse/ARROW-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16419018#comment-16419018 ]
ASF GitHub Bot commented on ARROW-2361: --------------------------------------- andygrove commented on a change in pull request #1804: ARROW-2361: [Rust] Starting point for a native Rust implementation of Arrow URL: https://github.com/apache/arrow/pull/1804#discussion_r178062462 ########## File path: rust/src/array.rs ########## @@ -0,0 +1,248 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +use std::convert::From; +use std::iter::Iterator; +use std::rc::Rc; +use std::str; +use std::string::String; + +use super::bitmap::Bitmap; + +use bytes::{Bytes, BytesMut, BufMut}; Review comment: For memory allocation I think we should do what @jihoonson did in iron-arrow and use libc since it lets us have aligned memory without requiring nightly rust. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > [Rust] Start native Rust Implementation > --------------------------------------- > > Key: ARROW-2361 > URL: https://issues.apache.org/jira/browse/ARROW-2361 > Project: Apache Arrow > Issue Type: New Feature > Components: Rust > Reporter: Andy Grove > Priority: Major > Labels: pull-request-available > > I'm creating this Jira to track work to donate an work-in-progress native > Rust implementation of Arrow. > I am actively developing this and relying on it for the memory model of my > DataFusion project. I would like to donate the code I have now and start > working on it under the Apache Arrow project. > Here is the PR: https://github.com/apache/arrow/pull/1804 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)