shendiaomo

Results 27 comments of shendiaomo

> Compare `&T` to `^T` for representing smart pointers: > > ```go > var ( > p *Type > sp ^Type // Use `^Type` to indicate a smart pointer >...

> Here is a typical PyTorch program in four different languages: > > * The Python version comes from the [official tutorial](https://pytorch.org/tutorials/beginner/pytorch_with_examples.html#pytorch-optim). > * The C++ version calls the ATen...

### The Current Structure After several structure-adjustment PRs (#2481 #2484 #2491 #2500 #2502 #2505 ), the current package structure has become: ```text pkg ├── attribute # semantics ├── codegen #...

> > After this phase, we don't need the pkg/step and cmd/step anymore. > > So we don't need the `pkg/execution/step` folder ? No, we don't. We only have to...

> I agree that there are two-layers architecture on the current code base, > and that makes SQLFlow not clear. > > 1. The 1st layer, SQLFlow translates a SQL...

![image](https://user-images.githubusercontent.com/4180295/85262377-45616800-b4a0-11ea-91c1-4769cad9fc65.png) The slogan is `SELECT * FROM Data INTO AI`, which has to be syntax-highlighted in SQL syntax. The logo is an avenue to the sun, which implies that SQLFlow...

#### Proposal 3 In #2335 , the proposal is: 1. The python package `sqlflow` provides an executable module `sqlflow.execute`, a simplified version is: ```python def execute(program:sqlflow_ir_pb2.Program) -> str: """ `execute`...

> Well, in my mind, proposal 3 is quite the same as the proposal 1, because: > > * in proposal 1, the Go code must know the actual Python...

> > In the proposed architecture, the IR is not "Go side", it's a formal protocol between the Parser (Go side) and the Runtime (Python side), and that's why #2335...

> Generally, SSA is generated from AST, not from IR, and the AST should have variables and assignment statements. Yet the SQL language often used without variables and assignments. Assignment...