tailcall
                                
                                
                                
                                    tailcall copied to clipboard
                            
                            
                            
                        π Tailcall Mini Hackathon: Bringing WASM to the Party with $2000 Bounty! π
π Calling All Code Wizards: Tailcall Mini Hackathon Awaits! π§ββοΈπ»
We're on a quest to bring WASM to Tailcall, and we're rolling out the red carpet for developers far and wide! With a whopping $2000 bounty for the winner, this is your chance to dive into Rust, WebAssembly, and Cloudflare, and make a lasting impact. ππΌ
Your Challenge:
- Bring WASM support to Tailcall for Cloudflare deployment.
 - Ensure no performance dip and full feature functionality.
 - Be the hero Tailcall needs!
 
Why You Can't Miss This:
- $2000 Bounty: A grand prize for the winner to sweeten the deal.
 - Community and Collaboration: Join forces with fellow developers in our Discord community.
 - Gain Visibility: By starring our repository, you help boost its prominence and your own profile.
 - Real Impact: Your contribution could shape the future of API ecosystem.
 - Job Opportunity: Impress us, and you could land a job offer with Tailcall.
 
Join the Adventure:
- Star the Repository: A simple star can make a big difference. Show your support!
 - Fork, Code, Conquer: Dive into the code and let your skills shine.
 - Join Our Discord: Connect, collaborate, and celebrate your progress with us at https://discord.gg/Q2ZExpFCnA.
 
Ready to Start?
- Gear up with Cloudflare's Rust and WASM guide: https://developers.cloudflare.com/workers/runtime-apis/webassembly/rust/
 - Explore Tailcall and envision its transformation.
 
Are you ready to embark on this epic journey, claim the bounty, and etch your name in the annals of open-source history? Let's hackathon! πππ
Don't just code; create a revolution. Star, join, code, and you could walk away $2000 richer! π«π°π
/bounty 2000$
~~π $2,000 bounty created by tailcallhq~~ ~~π $300 bounty created by tailcallhq~~
~~π If you start working on this, comment /attempt #750 along with your implementation plan~~
~~π To claim this bounty, submit a pull request that includes the text /claim #750 somewhere in its body~~
~~π Before proceeding, please make sure you can receive payouts in your country.~~ ~~π΅ Payment arrives in your account 2-5 days after the bounty is rewarded.~~ ~~π― You keep 100% of the bounty award.~~ ~~π If you go above and beyond by cleaning up or enhancing aspects beyond the scope of the PR, a tip may be awarded as a token of appreciation.~~ ~~π Thank you for contributing to tailcallhq/tailcall!.~~ ~~πββοΈ Join our discord channel if you need help.~~
~~π Add a bounty β’ Share on socials~~
| Attempt | Started (GMT+0) | Solution | 
|---|---|---|
| π’ @ayewo | Dec 14, 2023, 12:07:19 PM | WIP | 
| π’ @Rutik7066 | Dec 14, 2023, 12:39:05 PM | WIP | 
| π΄ @puneetkathar1 | Dec 14, 2023, 1:16:28 PM | WIP | 
| π΄ @A-N-uraag | Dec 14, 2023, 3:23:21 PM | WIP | 
| π’ @nikhilxe | Dec 14, 2023, 4:54:41 PM | WIP | 
| π’ @ssddOnTop | Dec 16, 2023, 6:46:43 AM | #750 | 
| π’ @artech-git | Dec 29, 2023, 3:23:14 PM | WIP | 
| π’ @tusharmath | #1041 | 
:loudspeaker: IMPORTANT NOTICE :loudspeaker: NOTE: We will open this issue for everyone to try, as an exception. :tada: :sparkles:
Hi @tusharmath. Is there any deadline for this?
/attempt #750 β
- Whatβs the deadline?
 - How about making it FCFS?
 Options
Can we collaborate on this?
/attempt #750 β
- Whatβs the deadline?
 - How about making it FCFS?
 Options
Can we collaborate on this?
@ayewo
@tusharmath As discussed in issue #381, the primary challenge in achieving WebAssembly (WASM) compatibility lies with the use of Tokio. Tokio, being designed for asynchronous I/O operations and threading, is not directly compatible with the WebAssembly environment.
The specific concern is that the entire logic of the tailcall functionality relies on Tokio, making it incompatible with the constraints of WASM. I'm seeking your input and suggestions on potential approaches to address this compatibility issue. Do you have any recommendations or alternative strategies for adapting the code to make it WASM-compatible without relying on Tokio?
Can we collaborate on this?
@nikhilxe Too late! I've already accepted someone else's offer to collaborate.
There is no deadline. Whoever finishes it first shall get the prize :)
@puneetkathar1 There are going to be parts that will need to be abstracted away specially for wasm compatibility. The meat of the application doesn't change much. Tokio is basically used only in the egress ie http client and we swap that with any client that's support by wasm. The ingress will be powered by cloudflare's SDK, so nothing to worry there.
Hello @ssddOnTop
I've encountered several errors while attempting to run wasm-pack build in the above commit by you. I understand that you've made some changes to the libraries, and I'm curious to know if the functionality in the desktop version remains consistent.
I was trying to work on this too, my approach was to experiment with WASM version, ensuring that the desktop version remains unchanged. I would greatly appreciate any insights or guidance you can provide regarding your approach to handling these aspects.
Hello @ssddOnTop
I've encountered several errors while attempting to run
wasm-pack buildin the above commit by you. I understand that you've made some changes to the libraries, and I'm curious to know if the functionality in the desktop version remains consistent.I was trying to work on this too, my approach was to experiment with WASM version, ensuring that the desktop version remains unchanged. I would greatly appreciate any insights or guidance you can provide regarding your approach to handling these aspects.
The normal version matches main branch exactly and passes all teats. I have WASM function working separately.
Edit: you should run the wasm-pack build command in workers directory instead of root dir.
π‘ @ssddOnTop submitted a pull request that claims the bounty. You can visit your bounty board to reward.
/tip 300$ @ssddOnTop
shouldn't this be closed @tusharmath?
There is some related work that's pending. I thought of releasing the bounty a little sooner as a token of appreciation π
Action required: Issue inactive for 30 days. Status update or closure in 7 days.
Issue closed after 7 days of inactivity.