You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/10/20 08:45:21 UTC

[GitHub] [shardingsphere] DearWhite opened a new issue, #21656: Can provide golang version of sharding-jdbc ?

DearWhite opened a new issue, #21656:
URL: https://github.com/apache/shardingsphere/issues/21656

   ## Feature Request
   ### Is your feature request related to a problem?
   no
   ### Describe the feature you would like.
   Can provide golang version of sharding-jdbc ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] DearWhite commented on issue #21656: Can provide golang version of sharding-jdbc ?

Posted by GitBox <gi...@apache.org>.
DearWhite commented on issue #21656:
URL: https://github.com/apache/shardingsphere/issues/21656#issuecomment-1285183719

   > * Do you mean to bind the Java API of ShardingSphere JDBC to the C API through `Project Panama`, and then call the C API to Golang? Could it be too early? But if you are already using JDK 19, I think you can give it a try.
   > * You just need to generate bindings with jextract first, load the library in the second, and call in the third. Ideally there isn't much C Language that needs to be written.
   
   I want to use it(go lib of ShardingSphere JDBC ) directly in the go service
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] linghengqian commented on issue #21656: Can provide golang version of sharding-jdbc ?

Posted by GitBox <gi...@apache.org>.
linghengqian commented on issue #21656:
URL: https://github.com/apache/shardingsphere/issues/21656#issuecomment-1336333294

   @DearWhite 
   - FYI, under the governance of the truffle framework, within the same GraalVM Native Image, I can directly call some APIs of Apache ShardingSphere JDBC through Python, JavaScript, R, Ruby and Rust( LLVM ).  Here is part of the implementation of the peripheral issue of https://github.com/apache/shardingsphere/issues/21347 . 
   
   - If you want to implement Golang with Truffle, you should submit some PR to https://github.com/oracle/graal/issues/381 .  
   
   - Obviously, there are very few people using Golang, far less than the Truffle .Net proposal.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] DearWhite commented on issue #21656: Can provide golang version of sharding-jdbc ?

Posted by GitBox <gi...@apache.org>.
DearWhite commented on issue #21656:
URL: https://github.com/apache/shardingsphere/issues/21656#issuecomment-1285209929

   > * This is completely impossible if the GoLang community has no intention of dealing with it. Not all dependencies can find a replacement Golang lib, the typical ones are Groovy Shell and Calcite, how can we imagine that something like Groovy Shell exists in Golang Lib? Golang has never had such a powerful SQL parser as Calcite, LOL. 🤣
   
   LOL. 🤣


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] linghengqian commented on issue #21656: Can provide golang version of sharding-jdbc ?

Posted by GitBox <gi...@apache.org>.
linghengqian commented on issue #21656:
URL: https://github.com/apache/shardingsphere/issues/21656#issuecomment-1285172741

   - Do you mean to bind the Java API of ShardingSphere JDBC to the C API through `Project Panama`, and then call the C API to Golang? Could it be too early? But if you are already using JDK 19, I think you can give it a try.
   - You just need to generate bindings with jextract first, load the library in the second, and call in the third. Ideally there isn't much C Language that needs to be written.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN commented on issue #21656: Can provide golang version of sharding-jdbc ?

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #21656:
URL: https://github.com/apache/shardingsphere/issues/21656#issuecomment-1285164572

   You may use the ShardingSphere-Proxy. Proxy could be used like a database.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN closed issue #21656: Can provide golang version of sharding-jdbc ?

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #21656: Can provide golang version of sharding-jdbc ?
URL: https://github.com/apache/shardingsphere/issues/21656


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] linghengqian commented on issue #21656: Can provide golang version of sharding-jdbc ?

Posted by GitBox <gi...@apache.org>.
linghengqian commented on issue #21656:
URL: https://github.com/apache/shardingsphere/issues/21656#issuecomment-1285197703

   - This is completely impossible if the GoLang community has no intention of dealing with it. Not all dependencies can find a replacement Golang lib, the typical ones are Groovy Shell and Calcite, how can we imagine that something like Groovy Shell exists in Golang Lib? Golang has never had such a powerful SQL parser as Calcite, LOL. 🤣


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] DearWhite commented on issue #21656: Can provide golang version of sharding-jdbc ?

Posted by GitBox <gi...@apache.org>.
DearWhite commented on issue #21656:
URL: https://github.com/apache/shardingsphere/issues/21656#issuecomment-1285208514

   > You may use the ShardingSphere-Proxy. Proxy could be used like a database.
   https://shardingsphere.apache.org/document/5.2.1/en/overview/
   The overview document says  ShardingSphere-Proxy:" Relatively High loss", can you explain it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org