how to integrate new custom backend in the LLVM - llvm

Is there any good understable resources for a beginner, which will demonstrate clearly (exact path) from scratch how to integrate new custom backend from LLVM-IR?
I have read Creating an LLVM Backend for the Cpu0 Architecture but I have found , it is very difficult for beginners.

Related

Micro frontend using module federation with EmberJS

We would like to know the feasibility of WebPack module federation build system in Ember JS App for invoking federated code from Ember App to connect with other front end codebase developed in React JS or other SPA.
Basically, we would to implement Micro-frontend using module federation approach where multiple frontends are already developed on Ember js and reactJS. In addition to that, our usecase depends on deeplinking, datasharing between these microfrontends.
Based on our understanding EmberJS by default uses broccoli and doesn't have support for webpack, Which is essential for Module Federation approach to accomplish Micro Frontend.
Looking forward for some pointers here
Have you seen this vite demo: https://github.com/lifeart/demo-ember-vite -- given that this is possible, however you "normally do module federation in webpack", is how you'd do it in ember.
you can do anything modern you can imagine (if you give up the older parts of the ecosystem) -- for example, any addon not in the v2 format likely won't work with the demo'd approach.
Broccoli isn't needed for EmberJS, it's just what happens to be the current default build system, and Embroider is 98% compatibility, with that 2% being the easy "just use webpack" parts. Embroider is pretty good for new apps if you don't use ember-data (newer than 4.7 at the time of writing), but that's the main purpose of embroider, bring the whole rest of the ecosystem to the modern era without folks needing to re-write their apps from scratch, and have to re-solve common problems.

Do GCP or AWS support C++ and GUI app development?

I am interested in developing web apps using the following technologies on the cloud:
1) C++
2) A GUI tool that can be called from C++ (such as wxWidgets)
I have checked out GCP (Google Cloud Platform) and AWS for these 2 technologies.
In general, I have found that these 2 PaaS sites support the following technologies for developing web apps:Java, .NET, PHP, node.js, Python, Ruby, Go.
Therefore I'd like to ask if either of these PaaS sites supports C++ development including GUI apps built using C++?
I haven't used AWS myself but I can provide some insight on GCP.
In short, C++ is not supported on the native runtime environments provided on App Engine (which is the PaaS solution of GCP). You can see this answer for more details on this.
However, there are some workarounds available you could try to see if those fit your needs. Firstly you could make use of the App Engine Flex custom runtime environments where you will be able to run in an environment defined by a Dockerfile which will allow you to use your own runtime environment. You can refer to this quickstart guide which goes over the steps required to use custom runtimes. Make sure that your C++ app that will reside inside the docker container works as a service that is up and running continuously serving incoming traffic through HTTP otherwise you might end up stumbling with the same problem described in this Github issue.
Alternatively, I found this article that goes over the steps to implement an architectural pattern for invoking legacy code on App Engine.

EmbersJS: Tutorial on building an application from scratch using REST API

I'm quite new to EmberJS framework to build Web Applications. I'm currently struggling to understand the right way (using Models, Controllers, View and Routes) to build a full-fledged web application using a Java (Spring, Hibernate) based REST API.
My current task is to create a simple registration page using EmberJS and pass on the information to a back end server using the REST API.
Can anyone guide me on this from scratch or show me few links that would help me learn?
This video was helpful when I was learning how to build an ember app with a rails rest api. Yehuda is on the rails core team and one of the primary creators of ember.js so I think he's a pretty good source of information.
https://www.youtube.com/watch?v=BpQj9_qEUAc

Any way to get architecture document from django framework

I m writting two applications in django framework, and i would like to know if there are any tools available with which i can get entire architecture diagram of the project itself?
Kindly suggest.

swig, soap or restful for my c/c++ library

I have a library/API that is completely built with C/C++ for over 10 years (under Linux). Now I want to export the API as a web service for other web projects use. I search for the web and narrow down to the following 3 chooses:
use SWIG to export the API to PHP or other script/web base language
use gSOAP to export the API as SOAP protocol
export the API as RESTful service (I can't find any exist framework, any suggestions?)
I want to compare them in terms of
stability
easy of use
performance
SWIG seems easy to use buy I am not sure the stability of it.
gSOAP seems very stable but a bit difficult to use and setup.
Any suggestion?
I personally used WSO2-WSF-CPP which is a C++ layer on top of AXIS2/2 to export legacy C++ code as web-service.
I tried back then gSOAP which worked quite well, but for stability and deployment reasons I choose WSO2, since AXIS2/C can be deployed easily as a module of the well know Apache2 HTTP server.
For the ease of use requirement I don't know if you plan to take WSDL file as a template to generate source code skeleton, but you can forget about this feature of the WSO2 package ... It seems to have been deprecated for a long time and the generated code is way too ugly to be maintained by hand.
Although doing a code generator yourself could be a good idea depending on the complexity and the amount of services you have. I recommend it! I did that and creating/building/generating services is quite straightforward now.
Another thing to notice about the WSO2 web services is that it's simple to build out of the box, and comes with stand-alone server to develop and test with. It was quite helpful (even if I am quite sure any decent web-service platform provides this kind of stuff like gSOAP does).