# Idea Julia Lite or 'Juliette'?

**URL:** <https://discourse.julialang.org/t/idea-julia-lite-or-juliette/34076>\
**Category:** New to Julia\
**Created:** [February 2, 2020, 11:00am UTC](https://discourse.julialang.org/t/idea-julia-lite-or-juliette/34076 "2020-02-02T11:00:31Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Elrod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elrod/32/22461_2.png) [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Post date:** [February 2, 2020, 5:04pm UTC](https://discourse.julialang.org/t/idea-julia-lite-or-juliette/34076/10 "2020-02-02T17:04:32Z")

</div>

> [@Tamas\_Papp](#):
>
> That said, I am very surprised to hear someone complaining about _broadcasting_ as a user-level feature (I am not talking about hooking into the broadcasting implementation).

Hmm…  
Julia

```julia
A = rand(4, 8);
b = rand(8)';
c = rand(4);
D = @. exp(A ^ b) - log(c)

```

R

```R
A <- matrix(runif(4*8), nrow = 4)
b <- t(runif(8))
c <- runif(4)
D <- exp(A ^ matrix(sapply(b, function(x) rep(x, 4)), nrow = 4)) - log(c)

```

EDIT: @qsong [pointed out](https://discourse.julialang.org/t/not-a-great-example/34402) that this is a better way to write the last line:

```R
D <- exp(A ^ rep(b, each = 4)) - log(c)

```

It gets worse as soon as you add (user defined?) functions that don’t have vectorized versions in R.

I’m presenting a 1-hour “Intro to Julia” session this Friday to a bunch of R users where I work.  
Broadcasting was (and is) going to be one of my major selling points.

---

_[View the full topic](https://discourse.julialang.org/t/idea-julia-lite-or-juliette/34076)._
