zeam-vm / pelemay

Pelemay is a native compiler for Elixir, which generates SIMD instructions. It has a plan to generate for GPU code.
Apache License 2.0
186 stars 13 forks source link

Supporting some functions for using libraries which were implemented by C / C ++. #86

Open hisaway opened 4 years ago

hisaway commented 4 years ago

Is your feature request related to a problem? Please describe.

I used visualization of point cloud library. https://github.com/PointCloudLibrary/pcl This library has been implemented by C++.

But now, we cannot apply pelemay for elixir project with pcl.

Describe the solution you'd like

Supporting the following functions:

String.replace/2 String.slice/2 String.split/2 String.to_integer/1 Enum.split/2 Enum.reduce/3 Base.encode16/1 length/1 is_bitstring/1

operator <>

other calling a function in Enum.map.

Describe alternatives you've considered No idea

Additional context None.

zacky1972 commented 4 years ago

Enum.filter/2 Enum.sort/1 String.replace/2 <>

Enum.reduce/3 calling a function (only in defpelemay) in Enum.map.

String.split/2 Enum.into/2

String.slice/2 Enum.split/2 Enum.uniq_by/2 Enum.group_by/3